# rollback monthly time series
by <- "1 month"
rollback(
.dateTime = seq(
from = as.POSIXct("2000-01-31", tz = "UTC"),
to = as.POSIXct("2000-12-31", tz = "UTC"),
by = by
),
periodicity = by
)
Run the code above in your browser using DataLab