monthly_to_annual.Rd
Calculate Annual Grid-Level Values from Monthly Raster Data
The monthly_to_annual
function computes annual grid-level values from a raster stack of monthly data,
This function supports a wide range of agricultural sectors and accounts for variations in crop calendars.
monthly_to_annual(input_rack, SECTOR)
A data frame of grid-level annual value
if (FALSE) { # \dontrun{
annual_PWC <- monthly_to_annual(input_rack = month_PWC, SECTOR = "MAIZ_I")
annual_HS <- monthly_to_annual(input_rack = month_HS, SECTOR = "MAIZ_I")
} # }