powered by
Uses the object produced by g.part1 to assess whether the accelerometer was worn
g.weardec(M,wearthreshold,ws2)
r1 Participant id extracted from file
r1
r2 Night number
r2
r3 Detected onset of sleep expressed as hours since the previous midnight
r3
LC fraction of 15 minute windows with more than 5 percent clipping
LC
LC2 fraction of 15 minute windows with more than 80 percent clipping
LC2
Object produced by g.getmeta
Number of axis that at least need to meet the non-wear criteria
Large windowsize used in seconds to apply non-wear detection Small window size not needed, because this is inherent to the object M
Vincent T van Hees <v.vanhees@accelting.com>
data(data.getmeta) output = g.weardec(M=data.getmeta,wearthreshold=2,ws2=3600)
Run the code above in your browser using DataLab