ipaq_scores | R Documentation |
Calculates the continuous and categorical scores for the 'International Physical Activity Questionnaire (IPAQ)' long form.
ipaq_scores(data, truncate = F)
data |
A data frame object containing 25 columns with the replies to the IPAQ long format (parts 1-4). Yes/no replies should be coded as yes-1, no-0. Time should be in minutes. |
truncate |
Logical vector. If TRUE all walking, moderate and vigorous time variables are truncated following the IPAQ short rule. Variables exceeding 180 minutes are truncated to be equal to 180 minutes. Default FALSE. |
A data frame object with the continuous (metabolic equivalent of task minutes (MET-min)/week) and categorical scores (low, moderate, high). Returns NA for cases with missing values.
The IPAQ Group (2005). Guidelines for Data Processing and Analysis of the International Physical Activity Questionnaire. Retrieved from <https://sites.google.com/site/theipaq/home>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.