CRAN/E | PhysActBedRest

PhysActBedRest

Marks Periods of 'Bedrest' in Actigraph Accelerometer Data

Installation

About

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. Version 1.1 adds preschool thresholds and corrects for possible errors in algorithm implementation.

Key Metrics

Version 1.1
R ≥ 3.5.0
Published 2020-09-14 1312 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks PhysActBedRest results

Downloads

Yesterday 2
Last 7 days 13 -66%
Last 30 days 151 -10%
Last 90 days 692 +35%
Last 365 days 2.183 -25%

Maintainer

Maintainer

J. Dustin Tracy

tracy@chapman.edu

Authors

J. Dustin Tracy
Zhiyi Xu
Sari Acra
Kong Y. Chen
Maciej S. Buchowski
Thomas Donnelly

Material

Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

PhysActBedRest archive

Depends

R ≥ 3.5.0
chron
stringr

Imports

lubridate