I have a database with 1441 rows. I need to group them into groups of 30, and draw averages from each of those subgroups. Is there any command that will allow me to do all this automatically? "every 30 rows, create a new column and calculate the average". I'm separating the data manually, which will take time. I'm doing this:
primeiro = pott [1:30,c('GPP')]
segundo = pott [31:60,c('GPP')]
And so on, until 1441. I do not see this form as very practical! : s
Thank you in advance for being able to help me