applyCosinorAnalyses {GGIR} | R Documentation |
Apply Cosinor Analyses to time series
Description
Wrapper function around cosinorAnalyses that first prepares the time series before applying the cosinorAnlayses
Usage
applyCosinorAnalyses(ts, qcheck, midnightsi, epochsizes)
Arguments
ts |
Data.frame with timestamps and acceleration metric. |
qcheck |
Vector of equal length as number of rows in ts with value 1 for invalid timestamps, 0 otherwise. |
midnightsi |
Indices for midnights in the time series |
epochsizes |
Epoch size for ts and qcheck respectively |
Author(s)
Vincent T van Hees <v.vanhees@accelting.com>
[Package GGIR version 3.1-2 Index]