Hi,

I have a set of data of fish speed for every second during 3.5 hours (12600 rows), and I would like to extract mean speeds for every minute (total of 210 mean values). Which function should I use on r that I can avoid repeating the mean function 210 times?

I am new to R so I am kinda struggling with this.

Thank you