N_input {SoilManageR}R Documentation

Estimate nitrogen input

Description

This function estimates the nitrogen (N) input by mineral and organic fertilization into the soil system per year.

Usage

N_input(var_MGMT_data, extended.output = FALSE)

Arguments

var_MGMT_data

a management_df that contains the management information

extended.output

an optional logical value:

  • If FALSE, N input values are aggregated by year

  • If TRUE, a tibble with all management operations is returned

  • Default value is FALSE

Details

The function takes a management_df as input and returns N input values per year in the management_df.

Alternatively, it can return a extensive tibble with all management operations and their N input values.

The functions calculates the N input by organic fertilization with the CN_input_amendments() function. Furthermore, it calculates the livestock intensity (LSU/ha) by deviding the animal derived N by ⁠105kgN/LSU⁠.

Be aware that the function currently neglects N that is fixated by plants (e.g. legumes)

Value

by default, a tibble with N input values (organic N, mineral N and total N) by year is returned. If extended.output = TRUE, a tibble with daily resolution is returned.

See Also

Examples

#example that returns annual N input values
N_input(EXAMPLE_data)

#example that returns a tibble with all management operations and their N input
N_input(EXAMPLE_data, extended.output = TRUE) 

[Package SoilManageR version 1.0.1 Index]