Learn R Programming

RPhosFate (version 2.0.1)

saveState,RPhosFate-method: Save state

Description

Saves parameters (parameters.yaml) to disk.

Usage

# S4 method for RPhosFate
saveState(x)

Value

NULL invisibly and side effects in the form of files.

Arguments

x

An S4 RPhosFate river catchment object.

See Also

RPhosFate, catchment

Examples

Run this code

# temporary demonstration project copy
cv_dir <- demoProject()
# load temporary demonstration project
x <- RPhosFate(
  cv_dir = cv_dir,
  ls_ini = TRUE
)

saveState(x)

Run the code above in your browser using DataLab