create_background: Create background points

View source: R/create_background.R

create_backgroundR Documentation

Create background points

Description

Create background points

Usage

create_background(
  predictors,
  mask = NULL,
  method = "random",
  n = 10000,
  obs = NULL,
  density_bias = NULL,
  width_buffer = NULL,
  species = NULL
)

Arguments

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.

Value

spatial points


ReseauBiodiversiteQuebec/sdm-pipeline documentation built on June 23, 2022, 9:10 p.m.