Calculates the previous year dates by subtracting one year from the given dates.
Arguments
- dates
a date-time object of class POSIXlt, POSIXct or Date.
- ...
Arguments passed on to
lubridate::add_with_rollbackroll_to_firstrollback to the first day of the month instead of the last day of the previous month (passed to
rollback())preserve_hmsretains the same hour, minute, and second information? If FALSE, the new date will be at 00:00:00 (passed to
rollback())