add_grass: Add a grassland management object

Description Usage Arguments Examples

View source: R/add_mgmt.R

Description

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

Usage

1
add_grass(yield_t_dm_ha, res_t_dm_ha, root_t_dm_ha)

Arguments

yield_t_dm_ha

A numeric vector indicating grassland forage yield in tonnes dry matter hectare-1^.

res_t_dm_ha

A numeric vector indicating grassland residue biomass in tonnes dry matter hectare-1^.

root_t_dm_ha

A numeric vector indicating grassland root biomass in tonnes dry matter hectare-1^.

Examples

1
2
3
add_grass(yield_t_dm_ha = c(7.5, 8.1),
          res_t_dm_ha = c(2.7, 3.1),
          root_t_dm_ha = c(7.4, 7.9))

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