【发布时间】:2020-10-08 18:54:37
【问题描述】:
有人可以解释为什么lubridate::as_datetime() 在这里失败,但as.POSIXct() 有效吗?
> as.POSIXct("2020-10-27 20:25")
[1] "2020-10-27 20:25:00 CDT"
> lubridate::as_datetime("2020-10-27 20:25")
[1] NA
Warning message:
All formats failed to parse. No formats found.
【问题讨论】:
-
as_datetime("2020-10-27 20:25:00")工作