Skip to content

PhysActBedRest

Marks Periods of 'Bedrest' in Actigraph Accelerometer Data

v1.1 · Sep 14, 2020 · GPL (>= 3)

Description

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.

Downloads

213

Last 30 days

15487th

213

Last 90 days

213

Last year

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘J. Dustin Tracy <tracy@chapman.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("J.", "Dustin"),
                      family = "Tracy",
                      role = c("aut", "cre"),
                      email = "tracy@chapman.edu"),
               person(given = "Zhiyi",
                      family = "Xu",
                      role = "aut"),
               person(given = "Sari",
                      family = "Acra",
                      role = "aut"),
               person(given = c("Kong", "Y."),
                      family = "Chen",
                      role = "aut"),
               person(given = c("Maciej", "S."),
                      family = "Buchowski",
                      role = "aut"),
               person(given = "Thomas",
                      family = "Donnelly",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘J. Dustin Tracy <tracy@chapman.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("J.", "Dustin"),
                      family = "Tracy",
                      role = c("aut", "cre"),
                      email = "tracy@chapman.edu"),
               person(given = "Zhiyi",
                      family = "Xu",
                      role = "aut"),
               person(given = "Sari",
                      family = "Acra",
                      role = "aut"),
               person(given = c("Kong", "Y."),
                      family = "Chen",
                      role = "aut"),
               person(given = c("Maciej", "S."),
                      family = "Buchowski",
                      role = "aut"),
               person(given = "Thomas",
                      family = "Donnelly",
                      role = "aut"))
as necessary.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘J. Dustin Tracy <tracy@chapman.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("J.", "Dustin"),
                      family = "Tracy",
                      role = c("aut", "cre"),
                      email = "tracy@chapman.edu"),
               person(given = "Zhiyi",
                      family = "Xu",
                      role = "aut"),
               person(given = "Sari",
                      family = "Acra",
           
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘J. Dustin Tracy <tracy@chapman.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("J.", "Dustin"),
                      family = "Tracy",
                      role = c("aut", "cre"),
                      email = "tracy@chapman.edu"),
               person(given = "Zhiyi",
                      family = "Xu",
                      role = "aut"),
               person(given = "Sari",
                      family = "Acra",
           

Dependency Network

Dependencies Reverse dependencies chron stringr lubridate PhysActBedRest

Version History

new 1.1 Mar 9, 2026