MakeRelRootDens: Generates a root density depth function the soil layers'...

Description Usage Arguments Value Examples

View source: R/MakeRoots.R

Description

Generates a root density depth function the soil layers' lower depth limits

Usage

1
2
3
MakeRelRootDens(soilnodes, maxrootdepth = min(soilnodes),
  method = "betamodel", beta = 0.97, relrootden = NULL,
  rootdepths = NULL)

Arguments

soilnodes

vector of lower soil layer depth limits, for which the relative root distribution will be calculated.

maxrootdepth

the maximum rooting depth (m, negative downwards) below which relative root length density will be set to zero

method

method name for the root depth distribution. 'betamodel' uses the model after Gale & Grigal, 'table' interpolates the value pairs of 'rootdepths' and 'relrootden' to 'soilnodes'. 'linear' returns linearly decreasing root densities with the maximum value (taken from the first vector element of 'relrootden') at the uppermost layer to 0 at 'maxrootdepth'. 'constant' returns a uniform root distribution with depth corresponding to the first vector element of 'relrootden' and 0 below 'maxrootdepth'.

beta

parameter(s) of the root distribution function

relrootden

vector of relative root densities

rootdepths

vector of lower depths limit, corresponding to 'relrootden'

Value

vector of relative rootlength, corresponding to soilnodes

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
MakeRelRootDens(soilnodes = seq(0,-2, by = -0.01),
method = "betamodel",
beta = 0.93)

MakeRelRootDens(soilnodes = soil_slb1$lower,
maxrootdepth = -1.4,
method = "linear",
relrootden = 0.2)

MakeRelRootDens(soilnodes = soil_slb1$lower,
maxrootdepth = -1.4,
method = "table",
relrootden = rootden_slb1$rootden,
rootdepths = rootden_slb1$depth)

pschmidtwalter/brook90r documentation built on April 6, 2020, 6:35 p.m.