View source: R/project_plug_and_play.R
project_plug_and_play | R Documentation |
This function projects fitted plug-and-play species distribution models onto new covariates.
project_plug_and_play(pnp_model, data, bg_zero_ror_zero = TRUE)
pnp_model |
A fitted plug-and-play model produced by |
data |
covariate data |
bg_zero_ror_zero |
Logical. Default = TRUE. If the background is zero, set the ROR to zero. This will prevent NaN and Inf values which would otherwise interfere with AUC calculations. |
A vector of relative occurrence rates evaluated at the covariates supplied in the data object.
The tsearchn function underlying rangebagging seems to fail sometimes with very uneven predictors. Rescaling helps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.