save.model: Save ensemble SDMs and SSDMs

save.modelR Documentation

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 signature '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 signature 'Stacked.SDM'
save.stack(stack, name = "Stack", path = getwd(), verbose = TRUE, GUI = FALSE)

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.

Value

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

See Also

load.model


sylvainschmitt/SSDM documentation built on Oct. 25, 2023, 11:19 p.m.