View source: R/sample_region_series.R
sample_rs_fixed | R Documentation |
Internal function for fixed sampling from sample_region_series()
,
used when a single size is given.
sample_rs_fixed(x, size, method = "random", replace = FALSE, na.rm = TRUE)
x |
a |
size |
number of points sampled; the same locations across all time steps |
method |
one of the sampling methods from |
replace |
boolean determining whether we sample with replacement |
na.rm |
boolean determining whether NAs are removed |
a data.frame with the sampled cells and their respective values for the climate variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.