View source: R/get_response_curves.R
get_response_curves | R Documentation |
Given an environmental data set, fitted models, and a directory to output plots, this function generates response curves for each predictor in the model. The response curves depict the predicted change in probability of presence as a function of the environmental predictor while holding all other predictors constant at their mean values.
get_response_curves(
env_bg,
env_pres,
pnp_model,
n.int = 1000,
envMeans = NULL,
envSDs = NULL
)
env_bg |
Object returned by get_env_bg |
env_pres |
Object returned by get_env_pres |
pnp_model |
Object returned by |
n.int |
Number of points along which to calculate the response curve |
envMeans |
A vector of means for each environmental predictor in the dataset. (not used) |
envSDs |
A vector of standard deviations for each environmental predictor in the dataset.(not used) |
This function generates a set of marginal predictions for each environmental variable, holding other variables constant
Cory Merow, modified by Brian Maitner
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.