Learn R Programming

ENMeval (version 0.1.0)

make.args: Generate arguments for Maxent

Description

This function generates a list of arguments to pass to Maxent or to use as convenient labels for plotting.

Usage

make.args(RMvalues = seq(0.5, 4, 0.5), 
	fc = c("L", "LQ", "H", "LQH", "LQHP", "LQHPT"), 
	labels = FALSE)

Arguments

RMvalues
Vector of (non-negative) values to use for the regularization multiplier.
fc
Character vector of feature class combinations to be included in analysis.
labels
logical; If FALSE (default), provides arguments to pass directly to Maxent; if TRUE, provides more intuitive labels to use, for example, in plotting.

Value

  • If labels = FALSE, a list the length of the total number of unique combinations of feature class(es) and regularization multiplier(s).

    If labels = TRUE, a list of two items:

  • $character vector of feature class combinations in the same order they were provided.
  • $numeric vector of regularization multiplier values in the same order they were provided.

Details

When labels = FALSE, the following additional arguments are added:

noaddsamplestobackground, noremoveDuplicates, noautofeature.

For details on these arguments, see Phillips et al. (2006) and the help documentation and tutorial of the Maxent software and the tutorial that can be downloaded from http://www.cs.princeton.edu/~schapire/maxent/{this website}.

References

Phillips, S. J., Anderson, R. P. and Schapire, R. E. 2006. Maximum entropy modeling of species geographic distributions. Ecological Modelling, 190: 231-259.

See Also

maxent in the dismo package.

Examples

Run this code
make.args(RMvalues=c(1:3), fc=c("L","LQ"))

make.args(RMvalues=c(1:3), fc=c("L","LQ"), labels=TRUE)

Run the code above in your browser using DataLab