apply_cosinor_IS_IV_Analyses: Apply Cosinor Analyses to time series

View source: R/apply_cosinor_IS_IV_Analyses.R

apply_cosinor_IS_IV_AnalysesR Documentation

Apply Cosinor Analyses to time series

Description

Wrapper function around cosinor_IS_IV_Analyses that first prepares the time series before applying the cosinorAnlayses

Usage

  apply_cosinor_IS_IV_Analyses(ts, qcheck, midnightsi, epochsizes, threshold = NULL)

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

threshold

See cosinor_IS_IV_Analyses

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIR documentation built on April 3, 2025, 6 p.m.