Learn R Programming

PHENTHAUproc (version 1.1.1)

convert_logical_to_time: 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)

Value

SpatRaster - numeric

Arguments

x

SpatRaster - logical - with time attribute

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()