convert_logical_to_time {PHENTHAUproc}R Documentation

Convert logical to time

Description

Converts logical SpatRasters to single layer SpatRaster with timeserialnumber as value for first TRUE

Usage

convert_logical_to_time(x)

Arguments

x

SpatRaster - logical - with time attribute

Value

SpatRaster - numeric

See Also

Other SpatRaster transformation: convert_df_to_srl(), convert_doy_to_logical(), convert_hour_to_meanminmax(), convert_logical_to_doy(), convert_sr_to_cvec()


[Package PHENTHAUproc version 1.1 Index]