Description Usage Arguments Value
View source: R/check_format_roots_data.R
This function takes sampled root proportion among layers as an input dataset, and uses a negative exponential function (/codeRfd_l = /lambda e^-lambda*l) to estimate the distribution of fine roots among the soil, at a 1cm resolution.
1 2 3 4 5 6 | check_format_roots_data(
roots_data,
layer_init_col = "depth_layer_init",
layer_end_col = "depth_layer_end",
percent_col = "percentRoots"
)
|
roots_data |
data.frame, containing one-line-per-layer fine roots percentages percentage as well as upper and lower depth bounds of the sampled layers (always positive numbers: low values being close to the surface, and high value being deep) |
layer_init_col |
character, the name of the column containing upper (close to the surface) end depth for each layer |
layer_end_col |
character, the name of the column containing lower (far from the surface) end depth for each layer |
percent_col |
character, the name of the column containing observed fine roots percentage for each layer (percents, i.e. the sum of the column is 1) |
a list containing two elements, the first a data.frame containing modelled fine roots density for each 1cm sublayer, as well as information on
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.