Learn R Programming

S4DM (version 0.0.1)

project_density_ratio: Projects fitted density-ratio distribution models onto new covariates.

Description

This function projects fitted density-ratio species distribution models onto new covariates.

Usage

project_density_ratio(dr_model, data)

Value

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

Arguments

dr_model

A fitted density ratio model produced by fit_density_ratio

data

covariate data