0

I am relatively new to R, and I have been struggling to find a method to calculate averages of each and every 66th observations along a column on a dataset containing 11830 observations and three variables (along three columns). Hence, the average of the 1st, 66th, 132nd, 198th...etcetera, and then again 2nd, 67th, 133rd, 199th and so on until we reach the 11830rd observation. I have been trying in various ways unsuccessfully. Any ideas will be much appreciated. Thanks Massimo

Massimo
  • 1
  • 1

0 Answers0