firstRun,RPhosFate-method {RPhosFate}R Documentation

First run

Description

Calls erosionPrerequisites, erosion, emission, transportPrerequisites, transportCalcOrder and transport in the mentioned order. While transport is called for the specified substance only, emission is called for all substances whose top soil concentrations have been provided.

Usage

## S4 method for signature 'RPhosFate'
firstRun(x, substance = "PP")

Arguments

x

An S4 RPhosFate river catchment object.

substance

A character string specifying the substance to calculate.

Value

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

See Also

subsequentRun

Examples


# temporary demonstration project copy
cv_dir <- demoProject()
# load temporary demonstration project
x <- RPhosFate(
  cv_dir = cv_dir,
  ls_ini = TRUE
)

x <- firstRun(x, "SS")


[Package RPhosFate version 1.0.4 Index]