Wrapper function around cosinor_IS_IV_Analyses that first prepares the time series before applying the cosinorAnlayses
apply_cosinor_IS_IV_Analyses(ts, qcheck, midnightsi, epochsizes, threshold = NULL)
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
See cosinor_IS_IV_Analyses
Vincent T van Hees <v.vanhees@accelting.com>