Wrapper function around cosinorAnalyses that first prepares the time series before applying the cosinorAnlayses
applyCosinorAnalyses(ts, qcheck, midnightsi, epochsizes)
Data.frame with timestamps and acceleration metric.
Vector of equal length as number of rows in ts with value 1 for invalid timestamps, 0 otherwise.
Indices for midnights in the time series
Epoch size for ts and qcheck respectively
Vincent T van Hees <v.vanhees@accelting.com>