Accelerometer step counter in R

I developed the following script to experiment a little with the Totem Health Sensor. It takes a CSV containing a sensor’s raw accelerometer data (consisting of a time-stamp, an X, an Y and a Z value), cleans and averages it, and counts peaks representing steps, cycles or repeats.

Some example plots with their respective peak counts:


Leave a Reply