Saves parameters (parameters.yaml) and transport calculation order (order.rds) to disk.

# S4 method for RPhosFate
saveState(x)

Arguments

x

An S4 RPhosFate river catchment object.

Value

NULL invisibly and side effects in the form of files.

See also

Examples


# temporary demonstration project copy
cv_dir <- demoProject()
#> Warning: A folder called "demoProject" already exists and is left as is.
# load temporary demonstration project
x <- RPhosFate(
  cv_dir = cv_dir,
  ls_ini = TRUE
)

saveState(x)