🌈 搜索
📅  最后修改于: 2022-03-11 14:51:59.363000             🧑  作者: Mango
df = data.frame(date=c("2012-02-01", "2012-02-01", "2012-02-02")) df$day <- weekdays(as.Date(df$date))