common_docs | R Documentation |
Common arguments and documentation for various functions
num_runs |
Numeric. Number of times to draw random samples. |
n_samples |
Numeric. Number of samples to draw in each run. |
land_hex |
(Spatial) Data frame. Land Cover data by hexagon. If
non-spatial, will be converted to spatial sf data frame using the |
stratum_id |
Column. Identifies larger area (e.g., |
hex_id |
Column. Identifies hexagon IDs (e.g., default |
omit_flag |
Column identifying hexes to omit (e.g., water hexes). |
costs |
Data frame. Costs for each hexagon in a RawCost format. |
crs |
Numeric, character, or sf/sfc. Coordinate reference system. Must
be valid input to |
coords |
Character vector. Names of the columns containing X and Y
coordinates (default |
non_random_set |
Character vector. |
benefit_weight |
Numeric. Weight assigned to benefit in the selection probabilities. 0.5 is equal weighting of cost and benefits. 1.0 is zero weighting to cost. Default 0.5. |
land_cover_weights |
Data frame. Proportional weights
( |
return_grts |
Logical. Return the |
... |
Extra named arguments passed on to |
seed |
Numeric. Random seed to use for random sampling. Seed only
applies to specific sampling events (does not change seed in the
environment). |
quiet |
Logical. Whether to suppress progress messages. |
Use @inheritParams common_docs
to include the above in any function
documentation with a matching argument (will only include matching args)
Extra named arguments for spsurvey::grts()
can also be passed on via ...
.
In particular, note that the default values for mindis
(minimum distance
between sites) is NULL
, and maxtry
(maximum attempts to try to obtain the
minimum distance between sites) is 10.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.