Convert Daily Raster Data to Monthly Averages

daily_to_monthly(input_rack)

Arguments

input_rack

Raster rack of daily value

Value

A raster rack of monthly value

Details

This function takes a raster stack of daily values and computes the monthly averages for each pixel.

Examples

if (FALSE) { # \dontrun{
month_PWC <- daily_to_monthly(input_rack = PWC.stack.y)
month_HS <- daily_to_monthly(input_rack = HS.stack.y)
} # }