applyCosinorAnalyses: Apply Cosinor Analyses to time series

View source: R/applyCosinorAnalyses.R

applyCosinorAnalysesR 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>


GGIR documentation built on Oct. 17, 2023, 1:12 a.m.