Learn R Programming

SSDM (version 0.2.8)

save.model: Save ensemble SDMs and SSDMs

Description

Allows to save S4 Ensemble.SDM and Stacked.SDM class objects.

Usage

save.esdm(esdm, name = strsplit(esdm@name, ".", fixed = TRUE)[[1]][1],
  path = getwd(), verbose = TRUE, GUI = FALSE)

# S4 method for Ensemble.SDM save.esdm(esdm, name = strsplit(esdm@name, ".Ensemble.SDM", fixed = TRUE)[[1]][1], path = getwd(), verbose = TRUE, GUI = FALSE)

save.stack(stack, name = "Stack", path = getwd(), verbose = TRUE, GUI = FALSE)

# S4 method for Stacked.SDM save.stack(stack, name = "Stack", path = getwd(), verbose = TRUE, GUI = FALSE)

Value

Nothing in R environment. Creates folders, tables and rasters associated to the SDM. Tables are in .csv and rasters in .grd/.gri.

Arguments

esdm

Ensemble.SDM. Ensemble SDM to be saved.

name

character. Folder name of the model to save.

path

character. Path to the directory chosen to save the SDM, by default the path to the current directory.

verbose

logical. If set to true, allows the function to print text in the console.

GUI

logical. Don't take that argument into account (parameter for the user interface).

stack

Stacked.SDM. SSDM to be saved.

See Also

load.model