calc_last: Calculate last TRUE

View source: R/calc_last.R

calc_lastR Documentation

Calculate last TRUE

Description

Takes multiple logical SpatRasters with time attribute and returns SpatRaster with time serial number of last TRUE layer time.

Usage

calc_last(x)

Arguments

x

SpatRaster - logical - with time attribute

Value

SpatRaster with time serial number (origin = lubridate::origin) of last TRUE layer.

See Also

Other Calculation: calc_first(), calc_mean()


PHENTHAUproc documentation built on June 22, 2024, 7:12 p.m.