3
I have a database with 1441 lines. I need to group them into groups of 30, and extract averages from each of these subgroups. Is there a command that allows me to do all this automatically? "every 30 rows, create a new column and calculate the average". I am separating the data manually, which will take me time. I am doing so:
primeiro = pott [1:30,c('GPP')]
segundo = pott [31:60,c('GPP')]
And so on, until 1441. I don’t see this form as very practical! : s
From now on I thank anyone who can help me