proj_mdl: Project calibrated MaxEnt models

View source: R/5.1.f.mscn.projection.R

proj_mdlR Documentation

Project calibrated MaxEnt models

Description

This function will read an object returned by "calib_mdl", read the calibrated models and project into new areas/climatic scenarios. These new projections will be returned together with (appended to) the original object.

Usage

proj_mdl(
  mcm,
  sp.nm = "species",
  pred.nm = "fut",
  a.proj,
  format = "raster",
  numCores = 1,
  parallelTunning = TRUE
)

Arguments

mcm

Objects returned by "calib_mdl", containing calibrated models.

sp.nm

Species name. Used to name the output folder

pred.nm

Character. Prefix to add to projection name (e.g. "fut" or "past")

a.proj

A Raster* object or a data.frame where models will be projected. Argument 'x' of dismo::predict

format

Character. Output file type. Argument 'format' of raster::writeRaster

numCores

Number of cores to use for parallelization. If set to 1, no paralellization is performed

parallelTunning

Should parallelize within species (parallelTunning=TRUE) or between species (parallelTunning=FALSE)

Value

A list containing all the items returned from function "calib_mdl", plus the projection specified in a.proj. Each projection is a raster stack containing model projections ('mxnt.preds'), where each layer is a projection based on a specific model selection criteria (i.e. AvgAIC, LowAIC, avg.test.orMTP, avg.test.or10pct, avg.test.AUC.MTP, avg.test.AUC10pct)

See Also

mod_sel, calib_mdl, calib_mdl_b, maxent, ENMevaluate, ENMevaluate_b, proj_mdl_b


HemingNM/ENMwizard documentation built on Jan. 4, 2024, 3:24 p.m.