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

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

g.part5.definedaysR Documentation

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)

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

Value

List of qqq and qqq_backup

Author(s)

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


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