soilProfileDef: Calculate depth distributions

Description Usage Arguments Details Value Author(s) Examples

View source: R/soilProfileDef.R

Description

Synthetic distribution of carbon and nitrogen contents in soilscontent with depth

Usage

1
2
3
4
5
6
7
soilProfileDef(
  zdepth,
  layer_thickness = 5,
  pars = list(Adepth = 25, n = 2, fact = 1),
  plot.query = FALSE,
  rescale.query = FALSE
)

Arguments

zdepth

depth of the soil profile [cm].

layer_thickness

thickness of the simulation layers.

pars

list of three named elements. Parameters determining the shape of the profile distribution. #'

Adrepth

depth of A horizon [cm]

n

sharpness of drop at Adepth [-]

fact

factor by which the entire profile (top = 1), is multiplied. For example by a humus content [-]

plot.query

query if a plot of the depth profile should be made. TRUE = plot is provided. FALSE, no plot.

rescale.query

query if the matter content in the soil should be rescaled to 0 at the bottom. TRUE, rescales.

Details

Used in the functions schaaf_managDef and in fertilisationDef

Value

Vector of calculated values ordered from top to bottom, in depth increments provided by layer_thickness

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de

Examples

1
## Not run: result <- soilProfileDef(200, plot.query = TRUE, rescale.query = FALSE)

tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.