Skip to content

PhysActBedRest

1.1Package record

Marks Periods of 'Bedrest' in Actigraph Accelerometer Data

0packages dependsuggested by 1
2.7Kdownloads / year
–test coverage
11/13flavors OK

Overview

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.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
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.

CRAN check page ↗

Slowest check: 1.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-09-08
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-09-07
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
3
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
33%

Downloads

2.7K
CRAN downloads in the past year
Rank #19,395 · ~7/day · ~223/mo
Daily download trend is not available in this view yet.
24930 days
67890 days
2.7K1 year
Compare downloads with other packages →
Also on69 r2u1 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing PhysActBedRest adds 13 packages (9 with compiled code, 15 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (3)
R >= 3.5.0chronstringr
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (from the free-text Author field) (6)

Maintainer since 1.0 (2016)

Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1Latest
    record
    2020-09-14 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0
    record
    2016-04-06
  • R
    R 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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PhysActBedRest")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PhysActBedRest version 1.1 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy