Description Usage Arguments Value See Also Examples
This function samples a Spatial*DataFrame according to a specified
column so that all factor levels are sampled n
times. If there
are less or equal entries in any levels these are sampled completely.
1 |
x |
a Spatial*DataFrame |
col |
the column used for the sampling |
n |
the amount of samples to be taken from each level of col |
seed |
an optional seed to be used for the
random |
... |
additional arguments passed to |
a list with entries sample_set (the samples) and remainder (the remainder).
sample
for details on the random sampling
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.