enmtools.vip | R Documentation |
Takes an enmtools.model object, and performs variable importance analyses on it using methods from the vip package
enmtools.vip(
model,
metric = "auc",
nsim = 10,
method = "permute",
verbose = FALSE,
...
)
model |
An enmtools.model object |
metric |
The metric to use for measuring how variables affect model predictions |
nsim |
The number of simulations to be run for method "permute" |
method |
A character string or vector containing any combination of "model", "permute", "shap", or "firm". For details on what these mean, see the vip package help. |
verbose |
Controls printing of messages |
... |
Further arguments to be passed to vip's "vi" functions. |
An enmtools.vip object
#install.extras(repos='http://cran.us.r-project.org')
monticola.glm <- enmtools.glm(iberolacerta.clade$species$monticola,
env = euro.worldclim,
test.prop = 0.3)
if(check.extras("enmtools.vip")) {
enmtools.vip(monticola.glm)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.