Learn R Programming

red (version 0.2.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, n = 3, file = NULL, minimum = 3, runs = 0, subset = 0)

Arguments

longlat
data.frame of species names, longitude and latitude (three columns) of each occurrence record.
layers
Raster* object as defined by package raster. If NULL they are read from data files.
n
Number of pca axes for environmental data reduction.
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.
runs
If <= 0="" no="" ensemble="" modelling="" is="" performed.="" if=""> 0, ensemble modelling with n runs is made. For each run a bootstrap (random sampling with replacement) of all occurrence records and a new set of 1000 background points are chosen.
subset
Number of predictive variables to be randomly selected from layers for each run if runs > 0. If

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.