import_nutrients: Import Nutrient Data

Description Usage Arguments Details Value Author(s) Examples

View source: R/import_nutrients.R

Description

This function creates a list with the data needed for the computation of nutrient balances for each management scenario.

Usage

1

Arguments

path

A character string specifying the path to the folder containing the text files containing nutrient data.

Details

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.

Value

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).

Author(s)

Benjamin M. Delory

Examples

1

BenjaminDelory/heathland documentation built on May 4, 2019, 3:11 a.m.