fitModels: Fit a set of MaxEnt models using the maxnet package

View source: R/fitModels.R

fitModelsR Documentation

Fit a set of MaxEnt models using the maxnet package

Description

A set of MaxEnt models will be fitted using the maxnet function in the package maxnet. A model will be fitted for each combination of replTags and multSet values.

Usage

fitModels(
  taxonName = NULL,
  occPath = NULL,
  backgroundPath = NULL,
  nBkgPoints = 5000,
  baseOutputPath = NULL,
  replTags = "",
  multSet = 1,
  outputType = "link"
)

Arguments

taxonName

The taxonomic name associated with a fitted model.

occPath

File system path to the file holding occurrence records and associated environmental data.

backgroundPath

File system path to a file holding a matrix of environmental data representing the background environment for the supplied occurrence data.

nBkgPoints

Number (integer) giving the number of background points to sub-sample from data in the file pointed to by backgroundPath.

baseOutputPath

File system path to the base folder to be used for model output. A sub-folder with the taxonomic name supplied in taxonName. It will be created if it doesn't already exist to receive output.

replTags

A character array of tags representing replicates to be fitted.

multSet

A numeric array of values to be used for overall regularisation multipliers. At least one value must be present which may be the default value of 1.

outputType

Character. Output scaling of fitted model: "link" is raw linear predictor scores, while "exponential", "logistic" and "cloglog" generate a non-linear re-scaling of the raw linear predictor scores. See maxnet for further information.

Value

Nothing


peterbat1/fitMaxnet documentation built on Sept. 17, 2024, 10:50 p.m.