Mean of last year (halfyear, month) of observations using.data.table

前端 未结 0 1876
醉话见心
醉话见心 2021-01-06 04:50

I would like to calculate average volume for all tickers in the dataset for previous 12, 6 and 3 months from daily data. Here is the sample data:

library(Batc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题