View source: R/PhysAccelMain.R
pametrics | R Documentation |
pametrics
generates Physical activity metrics from raw acceleration cwa file. The
function calls an external Matlab software to generate the files.
pametrics(
filename,
destinationdir,
epoch,
doAG,
doAGI,
doMAD,
doENMO,
doSkotte,
skotteAgeGroup
)
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) |
generatePAmetricsFolder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.