Promediar del primero hasta el tercero, luego del segundo hasta el cuarto

Hola. Tengo una tabla de datos y en la última columna quiero promediar del primer calor hasta el tercero, luego del segundo valor hasta el cuarto hasta terminar con los 97 valor les que tiene. Intenté hacer un bucle pero no resultó

I think you are describing a rolling average, here you can find some examples

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

2 Likes

gracias, ya pude resolverlo !! gracias por su ayuda :grinning:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.