Process Accelerometer Data for Physical Activity Measurement
Overview
It provides a function "wearingMarking" for classification of monitor wear and nonwear time intervals in accelerometer data collected to assess physical activity. The package also contains functions for making plot for accelerometer data and obtaining the summary of various information including daily monitor wear time and the mean monitor wear time during valid days. "deliveryPred" and "markDelivery" can classify days for ActiGraph delivery by mail; "deliveryPreprocess" can process accelerometry data for analysis by zeropadding incomplete days and removing low activity days; "markPAI" can categorize physical activity intensity level based on user-defined cut-points of accelerometer counts. It also supports importing ActiGraph AGD files with "readActigraph" and "queryActigraph" functions.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) pa-internal.Rd:11: Lost braces
11 | code{l2df}: convert list to data.frame
| ^
checkRd: (-1) pa-internal.Rd:14: Lost braces
14 | code{convertTZ}: force a new timezone on datetime
| ^
checkRd: (-1) pa-internal.Rd:16: Lost braces
16 | code{createTime}: create datetime variable
| ^
checkRd: (-1) pa-internal.Rd:18: Lost braces
18 | code{addDayIndex}: create ID_day variable from timestamp
| ^- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 27 (9 internal)includes a package overview page
- Examples that run
- 82%14 run in a plain check · 3 never run
- Exported functions with examples
- 93%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 37%
Downloads
Dependencies
Installing PhysicalActivity adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 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
- 0.2-4Latest2021-01-22 · current release · diff ↗ ·
added 4 exports
deliveryFeatures, deliveryPred, deliveryPrediction, deliveryPreprocess - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.2-2
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2010-09-15
- Total releases
- 4 / 16 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 273 KB / 2 files
- Download size
- 2.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("PhysicalActivity")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.