[R] Using lubridate to increment date by business days only
ramoss
ramine.mossadegh at finra.org
Tue Nov 13 19:49:53 CET 2012
Hello,
I know how to increment a date by calendar date:
ticker$ldate <- ticker$tdate + days(5)
How do I increment it by business days only so that week-ends are not
counted?
So for example friday november 2 + 5days becomes friday november 9 & not
wednesday nov 7.
Thanks for your help.
--
View this message in context: http://r.789695.n4.nabble.com/Using-lubridate-to-increment-date-by-business-days-only-tp4649414.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list