generatePAmetricsFolder: Bulk processing a folder of cwa files

View source: R/PhysAccelMain.R

generatePAmetricsFolderR Documentation

Bulk processing a folder of cwa files

Description

generatePAmetricsFolder Bulk processing of folder of cwa files

Usage

generatePAmetricsFolder(
  folder,
  destinationdir,
  epoch = 10,
  doAG = 1,
  doAGI = 1,
  doMAD = 0,
  doENMO = 0,
  doSkotte = 1,
  skotteAgeGroup = "adult"
)

Arguments

folder

Folder which contains 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

pametrics


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