PhysActBedRest
1.1Marks Periods of 'Bedrest' in Actigraph Accelerometer Data
Overview
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.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- References docs
- 33%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
Author records are not tracked yet for this package.
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.1Latest
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.02016-04-06
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-04-06
- Total releases
- 2 / 10 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 18 KB / 2 files
- Download size
- 19 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet