Learn R Programming

red (version 0.1.0)

map.easy: Predict species distribution made simple.

Description

Prediction of species distributions, multiple species simultaneously, and output of maps, klms and relevant data to files. All using a single step.

Usage

map.easy(longlat, layers = NULL, file = NULL, minimum = 3, jack = 0)

Arguments

longlat
Matrix of longitude and latitude (two columns) of each occurrence record.
layers
Raster* object as defined by package raster. If NULL they are read from data files.
file
Name of output csv file with all results. If NULL it is named "Results_All.csv".
minimum
Minimum number of occurrence records to perform a maxent model. If these are lower than the minimum, the function will return a map with presences points only.
jack
If 0 no jackknife is performed. If 1, a jackknife with number of runs equivalent to the number of records is made. If > 1 these are the number of runs. For each run one random record is left out at a time and a new set of 1000 background points is chosen.

Value

Writes maps, kmls and all information to a file.

Details

Builds maxent species distribution models and outputs maps in both pdf and kml format, plus a file with EOO, AOO and a list of countries where the species is predicted to be present.