Description Usage Arguments Details Value Author(s) Examples
View source: R/import_nutrients.R
This function creates a list with the data needed for the computation of nutrient balances for each management scenario.
1 | import_nutrients(path=NULL)
|
path |
A character string specifying the path to the folder containing the text files containing nutrient data. |
To run import_nutrients efficiently, nutrient input and output data must be stored in text files. One text file should contain the nutrient data associated with one management practice only. By default, the following naming convention is used for the text files: “grazing.txt”, “mowing.txt”, “burning.txt”, “choppering.txt”, and “sodcutting.txt”. By default (path=NULL), the function imports the data stored in the “extdata” folder of the package.
Returns a list. The list is a nutrients object. Each element of the list contains the nutrient data associated with one management practice. Data for five essential nutrients are available (N, P, K, Ca, Mg). Each element of the list contains the following rows:
Datm: the annual atmospheric deposition (kg/ha/year).
Esheep: the annual nutrient input via sheep excrement (kg/ha/year).
Lcontrol: the annual amount of nutrient leached from the control plots (kg/ha/year).
R: the nutrient loss due to the removal of biomass and soil (kg/ha).
Lfirst: the amount of nutrient leached from the managed plots one year after the management took place (kg/ha/year).
Dash: the nutrient deposition coming from ash production (kg/ha/year).
Benjamin M. Delory
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.