ell_predict | R Documentation |
Predict mahalanobis and suitability from ellipsoidal virtual niche
ell_predict(data, features, longitude = NULL, latitude = NULL,
tol = 1e-60, include_suitability = TRUE,
include_truncated = TRUE)
data |
matrix, data.frame, or SpatRaster containing variables of
interest included in ellipsoid |
features |
list of characteristics that defined the ellipsoid. This
list ca be obtained using the function |
longitude |
(character) if data is a data.frame or matrix, name of the column with longitudes (if present). Default = NULL. |
latitude |
(character) if data is a data.frame or matrix, name of the column with latitudes (if present). Default = NULL. |
tol |
(numeric) the tolerance for detecting linear dependencies. Default = 1e-8. |
include_suitability |
(logical) whether to include suitability predictions. Default = TRUE. |
include_truncated |
(logical) whether to include suitability predictions truncated based on ellipsoid limits (level). Default = TRUE. |
A list of predictions in vector or SpatRaster format, based on the features of the ellipsoid niche.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.