var_models: Helper function to calculate raster layers of model variance

View source: R/kuenm_modvar.R

var_modelsR Documentation

Helper function to calculate raster layers of model variance

Description

Helper function to calculate raster layers of model variance

Usage

var_models(model.names, is.swd, format = "asc", sp.name, source.codes,
           source, split.length = 100)

Arguments

model.names

(character) vector of model names.

is.swd

(logical) whether model calibration and final models were produced using SWD format.

format

(character) format of model raster files. Options are: "asc" or "tif"; default = "asc".

sp.name

(character) species names. This name must be the one that appears as part of the raster file of each model replicate.

source.codes

(character or numeric) vector of names or numbers that will be part of the pattern that will be searched.

source

(character) source of variation to be evaluated. Options are: "replicates", "parameters", "clim_models", and "emi_scenarios".

split.length

(numeric) limit number of models to be processed at the time. Bigger numbers would demand more from the RAM. Default = 100.

Value

RasterLayer or data.frame depending on is.swd argument.


manubio13/ku.enm documentation built on Jan. 5, 2024, 5:55 a.m.