View source: R/convertProfileAgeToDepth.R
| convertProfileAgeToDepth | R Documentation |
This function takes an age cohort soil profile and converts it to a depth based cohort using weighted sums and means.
convertProfileAgeToDepth(ageCohort, layerTop, layerBottom)
ageCohort |
a dataframe specifying the age cohort. Must contain |
layerTop |
a vector of the tops of the soil layers we want to convert to. |
layerBottom |
a vector of the bottom of the soil layers we want to convert to. |
a data frame specifying the depth cohorts. Contains layer_top, layer_bottom, age, fast_OM, slow_OM, mineral, and root_mass.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.