project_plug_and_play: Projects fitted plug-and-play distribution models onto new...

View source: R/project_plug_and_play.R

project_plug_and_playR 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.


S4DM documentation built on April 4, 2025, 2:22 a.m.