Displaying 1 result from an estimated 1 matches for "comment88971055_50988018".
2018 Jun 22
1
Bug in as.Date or strptime?
Hello,
This just came up in SO, sessionInfo() at the end.
https://stackoverflow.com/questions/50988018/seeking-explanation-for-as-date-function-in-r?noredirect=1#comment88971055_50988018
# example 1
# not even the month is right
as.Date(x = 1, format = '%j', origin= '2015-01-01')
#[1] "2018-07-21"
# example 2a
# nonsense output
as.Date(x = 1, origin= '2015-01-01')
#[1] "2015-01-02"
# example 2a
# nonsense output, see example 6 below...