Learn R Programming

RPhosFate (version 2.0.1)

emission,RPhosFate-method: Emission

Description

Calculates and writes substance emissions to disk.

Usage

# S4 method for RPhosFate
emission(x, substance = "PP")

Value

An S4 RPhosFate river catchment object and side effects in the form of raster files.

Arguments

x

An S4 RPhosFate river catchment object.

substance

A character string specifying the substance to calculate.

See Also

firstRun, subsequentRun

Examples

Run this code
# \donttest{
# 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")# }

Run the code above in your browser using DataLab