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.0 |
Depends: | R (≥ 2.10), chron, stringr |
Imports: | lubridate |
Published: | 2016-04-06 |
Author: | J. Dustin Tracy, Zhiyi Xu, Sari Acra, Kong Y. Chen, Maciej S. Buchowski |
Maintainer: | J. Dustin Tracy <jtracy2 at student.gsu.edu> |
License: | GPL (≥ 3) |
NeedsCompilation: | no |
CRAN checks: | PhysActBedRest results |
Reference manual: | PhysActBedRest.pdf |
Package source: | PhysActBedRest_1.0.tar.gz |
Windows binaries: | r-devel: PhysActBedRest_1.0.zip, r-release: PhysActBedRest_1.0.zip, r-oldrel: PhysActBedRest_1.0.zip |
macOS binaries: | r-release: PhysActBedRest_1.0.tgz, r-oldrel: PhysActBedRest_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=PhysActBedRest to link to this page.