model_changes: Helper function to calculate model changes

View source: R/kuenm_projchanges.R

model_changesR Documentation

Helper function to calculate model changes

Description

Helper function to calculate model changes

Usage

model_changes <- (calibration.model, current.model, fclim.models,
                  is.swd, result = "continuous", threshold = 5, occ,
                  clim.models, out.dir)

Arguments

calibration.model

(character) name of raster prediction for the calibration area. Ignored if is.swd = TRUE.

current.model

(character) name of current model raster name. It can be the same than calibration.model.

fclim.models

(character) vector of climatic model raster names.

is.swd

(logical) whether or not modeling was done using SWD format.

result

(character) type of result needed. options are "continuous" and "binary". Default = "continuous".

threshold

(numeric) if result = "binary", value from 0 to 100 that will be used as threshold, default = 5.

occ

if result = "binary", a numerical matrix containing coordinates of the occurrence data used to create the final models; columns must be: longitude and latitude.

clim.models

(character) names of that identify climatic models used for project ENMs. If not defined it is assumed that only one climate model was used.

out.dir

(character) name of the folder that will be created to save the binary models if result = "binary".


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