50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


GGIR (version 3.0-5)

g.part5.definedays: Fix missing night in part 4 output

Description

Not intended for direct use by GGIR users. Defines when day windows start and end as part of g.part5.

Usage

g.part5.definedays(nightsi, wi, indjump, nightsi_bu, 
                     epochSize, qqq_backup = c(), ts,
                     timewindowi, Nwindows, qwindow, ID = NULL)

Value

List of qqq and qqq_backup

Arguments

nightsi

Vector with indices for the midnights

wi

Numeric to indicate window number

indjump

Number of indices to jump

nightsi_bu

See argument nightsi this is a backup of this object

epochSize

Numeric epoch size in seconds

qqq_backup

Backup of qqq object, which holds the start and end indices of a window

ts

Data.frame with time series

timewindowi

Timewindow definition either "MM" or "WW"

Nwindows

Number of windows in the data

qwindow

qwindow argument

ID

ID of participant

Author

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