add_manure: Add a manure management object

Description Usage Arguments Examples

View source: R/add_mgmt.R

Description

To be used as an argument to the build_input() function. Creates an object containing crop management information and checks it for correct format and values. Arguments should be vectors of matching length, or of length 1.

Usage

1
add_manure(livestock_type, n_rate)

Arguments

livestock_type

A character vector indicating the livestock type from which the manure is derived. See names(man_fractions) for possible options.

n_rate

A numeric vector indicating the manure application rate, in kg nitrogen ha^-1.

Examples

1
2
add_manure(livestock_type = c("beef_cattle", "swine"),
           n_rate = c(47, 52))

aj-sykes92/soilc.ipcc documentation built on March 19, 2021, 11:52 a.m.