g.part5.wakesleepwindows: Label wake and sleepperiod window

View source: R/g.part5.wakesleepwindows.R

g.part5.wakesleepwindowsR Documentation

Label wake and sleepperiod window

Description

Not intended for direct use by GGIR users. Label wake and sleepperiod window as part of g.part5.

Usage

  g.part5.wakesleepwindows(ts, part4_output, desiredtz,
                    nightsi, sleeplog, epochSize,ID, Nepochsinhour)

Arguments

ts

data.frame with time series

part4_output

cleaned output from part 4

desiredtz

GGIR

nightsi

vector with indices for the midnights

sleeplog

Data.frame with sleeplog information as loaded by g.loadlog

epochSize

Short epochsize in seconds

ID

ID of the participant

Nepochsinhour

Number of epochs in an hour

Value

Object ts

Author(s)

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


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