View source: R/convert_logical_to_doy.R
convert_logical_to_doy | R Documentation |
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.
convert_logical_to_doy(x, from = NULL, to = NULL)
x |
SpatRaster - logical - with time attribute |
from |
|
to |
|
SpatRaster - numeric - day of year
Other SpatRaster transformation:
convert_df_to_srl()
,
convert_doy_to_logical()
,
convert_hour_to_meanminmax()
,
convert_logical_to_time()
,
convert_sr_to_cvec()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.