saveState,RPhosFate-method {RPhosFate}R Documentation

Save state

Description

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

Usage

## S4 method for signature 'RPhosFate'
saveState(x)

Arguments

x

An S4 RPhosFate river catchment object.

Value

NULL invisibly and side effects in the form of files.

See Also

RPhosFate, catchment

Examples


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

saveState(x)


[Package RPhosFate version 1.0.4 Index]