View source: R/create_background.R
create_background | R Documentation |
Create background points
create_background( predictors, mask = NULL, method = "random", n = 10000, obs = NULL, density_bias = NULL, width_buffer = NULL, species = NULL )
predictors |
spat raster, containing the predictor variables |
mask, |
spat vector, mask to apply to the predictors. |
method |
string, random, inclusion_buffer, thickening or biased. |
n |
integer, number of background points to select. |
obs |
data.frame, containing the observations. Used with method == "thickening" or "inclusion_buffer" |
width_buffer |
int, buffer width around observations. Used with method == "inclusion_buffer" |
species |
string, species name. |
spatial points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.