Calls transport
for the specified substance and optionally
erosionPrerequisites
, erosion
, emission
,
transportPrerequisites
and/or transportCalcOrder
beforehand.
# S4 method for RPhosFate
subsequentRun(
x,
substance = "PP",
erosionPrerequisites = FALSE,
erosion = FALSE,
emission = FALSE,
transportPrerequisites = FALSE,
transportCalcOrder = FALSE
)
An S4 RPhosFate
river catchment object.
A character string specifying the substance to calculate.
A logical scalar specifying if
erosionPrerequisites
is called.
A logical scalar specifying if erosion
is called.
A logical scalar specifying if emission
is called. It is
never called with substance = "SS"
though.
A logical scalar specifying if
transportPrerequisites
is called.
A logical scalar specifying if
transportCalcOrder
is called.
An S4 RPhosFate
river catchment object and side effects in
the form of raster files.
# \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")# }