在r中按月/年求和

时间:2017-01-11 17:16:49

标签: r

我从excel电子表格中收到以下格式的历史需求数据:

Part Number  Requested Date       Quantity
123           01/24/2013 12:53       1
122           02/07/2013 09:57       1 
122           02/14/2013 09:58       7
124           11/21/2012 12:46       1

I typically provide my management charts from excel by part like this but I want to be more proficient in R---doing hundreds of these at time

1 个答案:

答案 0 :(得分:1)

我们可以尝试使用as.yearmon来创建分组变量,然后获取“{1}}的数量'在sum

summarise