project_plug_and_play {S4DM}R Documentation

Projects fitted plug-and-play distribution models onto new covariates.

Description

This function projects fitted plug-and-play species distribution models onto new covariates.

Usage

project_plug_and_play(pnp_model, data)

Arguments

pnp_model

A fitted plug-and-play model produced by fit_plug_and_play

data

covariate data

Value

A vector of relative occurrence rates evaluated at the covariates supplied in the data object.

Note

The tsearchn function underlying rangebagging seems to fail sometimes with very uneven predictors. Rescaling helps.


[Package S4DM version 0.0.1 Index]