calc_last {PHENTHAUproc}R 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()


[Package PHENTHAUproc version 1.1 Index]