MyNixOS website logo
Description

Activity Index Calculation using Raw 'Accelerometry' Data.

Reads raw 'accelerometry' from 'GT3X+' data and plain table data to calculate Activity Index from 'Bai et al.' (2016) <doi:10.1371/journal.pone.0160644>. The Activity Index refers to the square root of the second-level average variance of the three 'accelerometry' axes.

@muschellij2 badges: Travis buildstatus AppVeyor buildstatus

ActivityIndex

ActivityIndex is an R package which provides functions to read and process raw accelerometry data.

Overview

ActivityIndex provides R functions to read raw accelerometry data collected by accelerometers. Specifically, it can directly handle .csv data files generated by accelerometer model GT3X+ and software ActiLife by ActiGraph. The package also provides functions to calculate summarizing metrics such as Activity Index (AI), using the raw data.

The AI is a way of summarizing densely sampled accelerometry data into given epochs (such as every 1 second or every 15 seconds, etc). Essentially, AI describes the variability of the raw acceleration signals, after normalizing it using systematic noise of the signal. AI is an evolution of the original metric, Activity Intensity, proposed in the paper Normalization and extraction of interpretable metrics from raw accelerometry data by J. Bai et al (2014). The AI addresses some limitation of the original Activity Intensity, and has favorable properties. More details on these properties and a direct comparison of AI versus other metrics such as Activity Count could be found in the paper An Activity Index for Raw Accelerometry Data and Its Comparison with Other Activity Metrics.

Package Installation

ActivityIndex software can be installed via GitHub. Users should have R installed on their computer before installing ActivityIndex.

Install devtools package

To install ActivityIndex package via GitHub, the user must have installed devtools, which could be completed by using the following R command

install.packages("devtools")

Install ActivityIndex package

The following R command can be used to install the latest version of ActivityIndex via GitHub:

devtools::install_github("javybai/ActivityIndex")

ActivityIndex User Manual

The ActivityIndex package includes a vignette to demonstrate a typical work flow of computing AI. The vignette can either be accessed by R command

browseVignettes(package="ActivityIndex")

and interactively browsing or going to https://javybai.github.io/ActivityIndex/articles/ActivityIndexIntro.html.

Further Questions

Please contact the author and maintainer Jiawei Bai (jbai [at] jhsph [dot] edu) or open an issue at GitHub.

Metadata

Version

0.3.7

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows