R/date-methods.R
eom.Rd
The dates are rounded to the end of their respective months.
dates
eom(dates)
a vector of dates.
a date vector with the same class as dates
library("lubridate")#> #> Attaching package: ‘lubridate’#> The following object is masked from ‘package:base’: #> #> dateeom(ymd(20120203, 20140203))#> [1] "2012-02-29" "2014-02-28"