convert_logical_to_doy {PHENTHAUproc} | R Documentation |
Convert logical to day of year (doy)
Description
Converts logical SpatRaster with time attribute and one layer per day to single layer with the day of the year (doy) where the layer is 1/TRUE first.
Usage
convert_logical_to_doy(x, from = NULL, to = NULL)
Arguments
x |
SpatRaster - logical - with time attribute |
from |
|
to |
|
Value
SpatRaster - numeric - day of year
See Also
Other SpatRaster transformation:
convert_df_to_srl()
,
convert_doy_to_logical()
,
convert_hour_to_meanminmax()
,
convert_logical_to_time()
,
convert_sr_to_cvec()
[Package PHENTHAUproc version 1.1 Index]