get_starttime_weekday_truncdata: Get starttime (adjusted), weekday, and adjust data...

View source: R/get_starttime_weekday_truncdata.R

get_starttime_weekday_truncdata R Documentation

Get starttime (adjusted), weekday, and adjust data accordingly.

Description

Function not intended for direct use by user. Used inside g.getmeta as an intermediate step between loading the raw data and calibrating it. This step includes extracting the starttime and adjusting it to nearest integer number of long epoch window lengths in an hour, truncating the data accordingly, and extracting the corresponding weekday.

Usage

  get_starttime_weekday_truncdata(monc, 
  dformat, data, header, desiredtz, sf,
  datafile, ws2, configtz = NULL)

Arguments

monc

See g.inspectfile

dformat

See g.dotorcomma

data

Data part of g.readaccfile output

header

Header part of g.readaccfile output

desiredtz

See g.getmeta

sf

Numeric, sample frequency in Hertz

datafile

See g.getmeta

ws2

Long epoch length

configtz

See g.getmeta

Author(s)

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


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