Off topic:R programming help
1
1
Entering edit mode
7.8 years ago
syed.kabir14 ▴ 10

I would like to know how I can get the average of every 60 rows in my data. The data has values for over a million rows and I would like to get the average value 60 rows at a time and compile it in a table. The data is only one column. What would the code be for that? Would I need a loop?

R • 1.0k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2289 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6