Calculates and writes substance emissions to disk.
# S4 method for RPhosFate
emission(x, substance = "PP")
An S4 RPhosFate
river catchment object.
A character string specifying the substance to calculate.
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 calls
x <- erosionPrerequisites(x)
x <- erosion(x)
x <- emission(x, "PP")# }