powered by
Takes multiple logical SpatRasters with time attribute and returns SpatRaster with time serial number of last TRUE layer time.
calc_last(x)
SpatRaster with time serial number (origin = lubridate::origin) of last TRUE layer.
SpatRaster - logical - with time attribute
Other Calculation: calc_first(), calc_mean()
calc_first()
calc_mean()