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

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

g.part5.addsibR Documentation

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)

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

Value

Data.frame ts

Author(s)

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


GGIR documentation built on Sept. 11, 2024, 8:59 p.m.