Calls transport for the specified substance and optionally
erosionPrerequisites, erosion, emission and
transportPrerequisites beforehand.
Usage
# S4 method for class 'RPhosFate'
subsequentRun(
x,
substance = "PP",
erosionPrerequisites = FALSE,
erosion = FALSE,
emission = FALSE,
transportPrerequisites = FALSE
)Arguments
- x
An S4
RPhosFateriver catchment object.- substance
A character string specifying the substance to calculate.
- erosionPrerequisites
A logical scalar specifying if
erosionPrerequisitesis called.- erosion
A logical scalar specifying if
erosionis called.- emission
A logical scalar specifying if
emissionis called. It is never called withsubstance = "SS"though.- transportPrerequisites
A logical scalar specifying if
transportPrerequisitesis called.
Value
An S4 RPhosFate river catchment object and side effects in
the form of raster files.
Examples
# \donttest{
# 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
)
# presupposed method call
x <- firstRun(x, "SS")
x <- subsequentRun(x, "PP")# }