pametrics: This function is a wrapper of the matlab code

View source: R/PhysAccelMain.R

pametricsR Documentation

This function is a wrapper of the matlab code

Description

pametrics generates Physical activity metrics from raw acceleration cwa file. The function calls an external Matlab software to generate the files.

Usage

pametrics(
  filename,
  destinationdir,
  epoch,
  doAG,
  doAGI,
  doMAD,
  doENMO,
  doSkotte,
  skotteAgeGroup
)

Arguments

filename

Filename of the cwa file

destinationdir

The destination folder for which alle the PA metrics files are stored

epoch

The epoch legnth used to generate the metrics. Skotte is always 1 second

doAG

Should ActiGraph counts metrics be generated (0:no, 1:yes)

doAGI

Should AGi counts metrics be generated (0:no, 1:yes)

doMAD

Should MAD counts metrics be generated (0:no, 1:yes)

doENMO

Should ENMO counts metrics be generated (0:no, 1:yes)

doSkotte

Should Skotte activity type be generated (0:no, 1:yes). Requires thigh acceleration

skotteAgeGroup

Age group for the classification of skotte (adult is default)

See Also

generatePAmetricsFolder


jbrond/PhysAccel documentation built on Aug. 29, 2024, 4:31 a.m.