g.part5.ontsetwaketiming: Identify wake and sleepperiod window timing

g.part5.onsetwaketimingR Documentation

Identify wake and sleepperiod window timing

Description

Not intended for direct use by GGIR users. Labels timing of wakeing up and sleep onset as part of g.part5.

Usage

  g.part5.onsetwaketiming(qqq, ts, min, sec, hour, timewindowi)

Arguments

qqq

Start and end index of window to analyses

ts

Data.frame with time series as created in g.part5

min

Numeric vector with minute values

sec

Numeric vector with second values

hour

Numeric vector with hour values

timewindowi

Character to indicate what timewindow definition is used either "MM" or "WW"

Value

A list with objects: wake, onset, wakei, onseti, skiponset, and skipwake.

Author(s)

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


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