sleepdata_overview: sleepdata_overview

Description Usage Arguments Value

View source: R/sleepdata_overview.R

Description

Calculate sleep data

Usage

1
sleepdata_overview(workdir, actdata, i, lengthcheck)

Arguments

workdir

The directory where the sleep files are located.

actdata

The activity data.

i

The index of the current file in ACTdata.files

lengthcheck

Boolean value. If TRUE, the dataset is shortened to the start date plus 14 days, and observations more than 14 days after the start date are removed.

Value

Returns a sleepdata overview.


compsy/ACTman documentation built on July 19, 2018, 11:32 p.m.