Crandore Hub

PhysActBedRest

Marks Periods of 'Bedrest' in Actigraph Accelerometer Data

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.

Versions across snapshots

VersionRepositoryFileSize
1.1 rolling linux/jammy R-4.5 PhysActBedRest_1.1.tar.gz 39.6 KiB
1.1 rolling linux/noble R-4.5 PhysActBedRest_1.1.tar.gz 39.5 KiB
1.1 rolling source/ R- PhysActBedRest_1.1.tar.gz 19.1 KiB
1.1 latest linux/jammy R-4.5 PhysActBedRest_1.1.tar.gz 39.6 KiB
1.1 latest linux/noble R-4.5 PhysActBedRest_1.1.tar.gz 39.5 KiB
1.1 latest source/ R- PhysActBedRest_1.1.tar.gz 19.1 KiB
1.1 2026-04-26 source/ R- PhysActBedRest_1.1.tar.gz 19.1 KiB
1.1 2026-04-23 source/ R- PhysActBedRest_1.1.tar.gz 19.1 KiB
1.1 2026-04-09 windows/windows R-4.5 PhysActBedRest_1.1.zip 43.1 KiB
1.1 2025-04-20 source/ R- PhysActBedRest_1.1.tar.gz 19.1 KiB

Dependencies (latest)

Depends

Imports