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.
我正在尝试将 R 中的日期从“1-Apr-02”转换为“2002-04-01”,但as.Date无法识别格式:
as.Date
> as.Date("1-Apr-02", format="%d-%b-%y") [1] NA
即使我把 a"01"而不是"1",它也不起作用。
"01"
"1"