emission,RPhosFate-method {RPhosFate} | R Documentation |
Calculates and writes substance emissions to disk.
## S4 method for signature 'RPhosFate'
emission(x, substance = "PP")
x |
An S4 |
substance |
A character string specifying the substance to calculate. |
An S4 RPhosFate
river catchment object and side effects in
the form of raster files.
# temporary demonstration project copy
cv_dir <- demoProject()
# 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")