enmtools.hypervolume {ENMTools} | R Documentation |
THIS FUNCTION IS CURRENTLY DISABLED. Takes an emtools.species object and environmental layers, and constructs a hypervolume using the R package hypervolume
Description
THIS FUNCTION IS CURRENTLY DISABLED. Takes an emtools.species object and environmental layers, and constructs a hypervolume using the R package hypervolume
Usage
enmtools.hypervolume(
species,
env,
samples.per.point = 10,
reduction.factor = 0.1,
method = "gaussian",
verbose = FALSE,
clamp = TRUE,
...
)
Arguments
species |
An enmtools.species object |
env |
A stack of environmental rasters |
samples.per.point |
To be passed to hypervolume_gaussian |
reduction.factor |
To be passed to hypervolume_project |
method |
Method for constructing hypervolumes, defaults to "gaussian" |
verbose |
Controls printing of various messages progress reports. Defaults to FALSE. |
clamp |
When set to TRUE, clamps the environmental layers so that predictions made outside the min/max of the training data for each predictor are set to the value for the min/max for that predictor. Prevents the model from extrapolating beyond the min/max bounds of the predictor space the model was trained in, although there could still be projections outside the multivariate training space if predictors are strongly correlated. |
... |
Extra parameters to be passed to hypervolume_gaussian |
Value
An enmtools hypvervolume object containing a hypervolume object, a raster of suitability scores, the species name, and the occurrence data frame.
Examples
#install.extras(repos='http://cran.us.r-project.org')
env <- euro.worldclim[[c(1,8,12,17)]]
if(requireNamespace("hypervolume", quietly = TRUE)) {
monticola.hv <- enmtools.hypervolume(iberolacerta.clade$species$monticola, env = env)
}