Learn R Programming

RPhosFate (version 2.0.1)

transport,RPhosFate-method: Transport

Description

Calculates and writes substance retentions, transports and cell loads as well as transfers to disk.

Usage

# S4 method for RPhosFate
transport(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.

References

Engman, E.T., 1986. Roughness coefficients for routing surface runoff. Journal of Irrigation and Drainage Engineering 112, 39–53.

Molnár, P., Ramírez, J.A., 1998. Energy dissipation theories and optimal channel characteristics of river networks. Water Resources Research 34, 1809–1818. https://doi.org/10.1029/98WR00983

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")
x <- transportPrerequisites(x)

x <- transport(x, "PP")# }

Run the code above in your browser using DataLab