use rollapply and zoo to calculate rolling average of a column of variables

Leave a Comment