outliers | R Documentation |
Draws plots of sites in geographical (longlat) and environmental (2-axis PCA) space.
outliers(longlat, layers)
longlat |
Matrix of longitude and latitude or eastness and northness (two columns in this order) of species occurrence records. |
layers |
Raster* object as defined by package raster. It can be any set of environmental layers thought to allow the identification of environmental outliers. |
Erroneous data sources or errors in transcriptions may introduce outliers that can be easily detected by looking at simple graphs of geographical or environmental space.
A data.frame with coordinate values and distance to centroid in pca is returned. Two plots are drawn for visual inspection. The environmental plot includes row numbers for easy identification of possible outliers.
records = red.examples("red.records")
layers = red.examples("red.layers")
outliers(records, layers[[1:3]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.