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'.
Asked
Active
Viewed 116 times
1 Answers
0
I believe as.posix allows you to request $wday

Chris Bail
- 307
- 1
- 8
-
2`as.posix` is not a valid R function. I think you meant `as.POSIXlt` – Rich Scriven Mar 26 '15 at 00:07