Hello R community, this is my first time to post on this board, please help or recommend me some.
My question is "how to average the data every 6 rows with the specific conditions"
In my case, I have to average the data every 6 rows but in each 6 rows if there are no data over 3 rows in 1 set (1 set = 6 rows), we would not count or average that set (show blank results)!!
Moreover, when we average we will divided by itself, if in one set showed 5 value, we divided by 5.
Please guide me some, and thank you for all reply
I will really appreciate it
As I am beginner and I just start please explain me clearly step, I will follow and promise to learn more >< thank you very much