Learn R Programming

GGIR (version 3.2-0)

g.part5.addsib: Adds the sustained inactivity bout to the ts series.

Description

Not intended for direct use by GGIR users. Adds the sustained inactivity bout to the ts series as part of g.part5.

Usage

g.part5.addsib(ts, epochSize, part3_output, desiredtz,
              sibDefinition, nightsi)

Value

Data.frame ts

Arguments

ts

Data.frame object as passed on from g.part5

epochSize

Short epoch size in seconds

part3_output

Segment of part 3 output relevant for current sleep definition

desiredtz

see GGIR

sibDefinition

Character to indicate definition of sib (sustained inactivity bout)

nightsi

Vector with indices for the midnights

Author

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