Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将字符向量转换为 POSIXct 对象,但无法实现
03-Jun-2012 5:00am PDT
我可以将 lubridatedmy函数用于日期,但无法将其与时间结合使用
dmy
我不会lubridate用于这种情况。而是使用基本as.POSIXct功能:
lubridate
as.POSIXct
as.POSIXct('03-Jun-2012 5:00am PDT', format='%d-%b-%Y %l:%M%p')