PhysActBedRest: Marks Periods of 'Bedrest' in Actigraph Accelerometer Data
Version 1.0

Contains a function to categorize accelerometer readings collected in free-living (e.g., for 24 hours/day for 7 days), preprocessed and compressed as counts (unit-less value) in a specified time period termed epoch (e.g., 1 minute) as either bedrest (sleep) or active. The input is a matrix with a timestamp column and a column with number of counts per epoch. The output is the same dataframe with an additional column termed bedrest. In the bedrest column each line (epoch) contains a function-generated classification 'br' or 'a' denoting bedrest/sleep and activity, respectively. The package is designed to be used after wear/nonwear marking function in the 'PhysicalActivity' package.

Getting started

Package details

AuthorJ. Dustin Tracy, Zhiyi Xu, Sari Acra, Kong Y. Chen, Maciej S. Buchowski
Date of publication2016-04-06 16:21:27
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 PhysActBedRest package in your browser

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

PhysActBedRest documentation built on May 30, 2017, 3:51 a.m.