View source: R/ellipsoid_suitability.R
predict_esuitability | R Documentation |
predict_esuitability predicts a SpatRaster of environmental suitability based on Mahalanobis distances to a niche centroid and a covariance matrix.
predict_esuitability(ellipsoid_model = NULL, centroid = NULL,
covariance_matrix = NULL, variables,
suitability_threshold = 5, tolerance = 1e-60)
ellipsoid_model |
object produced with the function
|
centroid |
centroid from which distances are measured in |
covariance_matrix |
covariance matrix to be used when measuring the
Mahalanobis distances. Ignored if |
variables |
a SpatRaster of variables representing the environmental conditions in the area where the model will be transferred to. |
suitability_threshold |
(numeric) value (percentage) to be used as threshold; default = 5. |
tolerance |
the tolerance for detecting linear dependencies. Default = 1e-60. |
A list containing:
niche centroid
covariance matrix
proportion of suitable areas in environmental and geographic space
suitability SpatRaster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.