0

Is there one function returning the weekday's date? For example, today is 3/25/2015. If input the parameter is current week(0) and weekday is Monday(1), it will return '3/23/2015'. If input is last week(-1) and weekday is Monday(1), it will return '3/16/2015'.

YYY
  • 605
  • 3
  • 8
  • 16
  • 1
    See http://stackoverflow.com/questions/7558619/is-there-an-r-package-that-will-handle-posix-objects-and-return-the-nth-n-day-of/7558895#7558895 – G. Grothendieck Mar 25 '15 at 17:38

1 Answers1

0

I believe as.posix allows you to request $wday

Chris Bail
  • 307
  • 1
  • 8