PhyActBedRest: Marks periods of sleep in Actigraph accelerometer data

Applies an automated algorithm to mark Actigraph accelerometer data as either bedrest or active. There are separate functions for waist and wrist data. Its input is a dataframe with a timestamp column and one of counts. The output is the same dataframe with an additional column, bedrest. Bedrest will have "a" active or "br" for each line. Options also allow for "n" nap which only differ than "s" in being for a shorter (specifiable) time period. Designed to be used after wearmarking function in Physical Activity package.

Getting started

Package details

AuthorJ. Dustin Tracy, Zhiyi Xu, Leena Choi, Sari Acra, Kong Y. Chen, Maciej S. Buchowski
MaintainerJ. Dustin Tracy <>
LicenseGPL (>= 3)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the PhyActBedRest package in your browser

Any scripts or data that you put into this service are public.

PhyActBedRest documentation built on Sept. 12, 2016, 9:16 a.m.