Description Usage Arguments Value See Also Examples
View source: R/SDMdata.quality.R
Evaluate the percentage of occurrences that fall on pixels assigned by NA values in the environmental RasterStack. It may provide interesting information to interpret model robustness.
1 |
data |
SDMtab object or dataframe that contains id, longitude, latitude and values of environmental descriptors at corresponding locations |
prop Dataframe that provides the proportion of NA values on which the presence data fall, for each environmental predictor
SDMeval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #Generate a SDMtab
data('ctenocidaris.nutrix')
occ <- ctenocidaris.nutrix
# select longitude and latitude coordinates among all the information
occ <- ctenocidaris.nutrix[,c('decimal.Longitude','decimal.Latitude')]
library(raster)
data("predictors2005_2012")
envi <- predictors2005_2012
envi
#Create the SDMtab matrix
SDMtable_ctenocidaris <- SDMPlay:::SDMtab(xydata=occ,
predictors=predictors2005_2012,
unique.data=FALSE,
same=TRUE)
# Evaluate the matrix quality
SDMPlay:::SDMdata.quality(data=SDMtable_ctenocidaris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.