geo-registry

sf::st_sample

How sf runs Random Points in Polygons: sf::st_sample.

About this implementation
Engine sf
Tool name sf::st_sample
Interface r
Implements Random Points in Polygons
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
x any yes Not stated Not stated Not stated
size any yes Not stated Not stated Not stated
... dots no Not stated Not stated further arguments passed on

How it maps to the operation

Operation parameter Parameter here Note
layer x Not stated
count size Not stated
seed Not stated Call set.seed() first; there is no seed argument.

Differences from the operation

  • size is the total over all polygons, shared by area, unless given one value per polygon.

Harvested by the r-packages harvester from engine version 1.1.3. Names can change when an engine is harvested again.