View source: R/convert_doy_to_logical.R
convert_doy_to_logical | R Documentation |
Convert day of year (doy) to logical
convert_doy_to_logical(x, from, to, by = "days")
x |
SpatRaster - numeric - value is day of year |
from |
Date - ymd - first day of time attribute |
to |
Date - ymd - last day of time attribute |
by |
character - either "days", "weeks" or "months". Reduces return to one day per day/week/month |
SpatRaster - logical - TRUE/FALSE before_doy/equal_after_doy
Other SpatRaster transformation:
convert_df_to_srl()
,
convert_hour_to_meanminmax()
,
convert_logical_to_doy()
,
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.