Calculate Cropland NPP Components Including Weeds
Source:R/npp_functions.R
calculate_crop_npp_components.RdCalculates complete cropland NPP including weed biomass, scaled by potential NPP and considering fallow periods.
Examples
if (FALSE) { # \dontrun{
# With grouping by Year
cropland_npp <- calculate_crop_npp_components(crop_npp_potential, .by = "Year")
# With multiple grouping variables
cropland_npp <- calculate_crop_npp_components(crop_npp_potential,
.by = c("Year", "Region"))
# Without grouping
cropland_npp <- calculate_crop_npp_components(crop_npp_potential, .by = NULL)
} # }