Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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 this website.

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.

Author(s)

Robert Muscarella <bob.muscarella@gmail.com> and Jamie M. Kass <jkass@gc.cuny.edu>

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

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

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

ENMeval

Automated Runs and Evaluations of Ecological Niche Models

v0.3.1
GPL
Authors
Robert Muscarella, Peter J. Galante, Mariano Soley-Guardia, Robert A. Boria, Jamie M. Kass, Maria Uriarte and Robert P. Anderson
Initial release
2020-09-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.