scoring_ipaqsf: Scoring the International Physical Activity Questionnaire...

Description Usage Arguments Details Value References Examples

View source: R/ipaq.R

Description

The purpose of the IPAQ is to provide a set of well-developed instruments that can be used internationally to obtain comparable estimates of physical activity. There are two versions of the questionnaire. The short version is suitable for use in national and regional surveillance systems and the long version provide more detailed information often required in research work or for evaluation purposes. (The IPAQ Group)

Usage

1
scoring_ipaqsf(data, items = 1:11, keep = TRUE, weight)

Arguments

data

a data.frame containing the IPAQ items orderd from 1 to 11:

  1. VigDays: Number of days doing vigorous physical activity per week

  2. VigHours: Number of hours in vigorous physical activity per day

  3. VigMin: Number of minutes in vigorous physical activity per day

  4. ModDays: Number of days doing moderate physical activity per week

  5. ModHours: Number of hours in moderate physical activity per day

  6. ModMin: Number of minutes in moderate physical activity per day

  7. WalkDays: Number of days walking per week

  8. WalkHours: Number of hours walking per day

  9. WalkMin: Number of minutes in walking per day

  10. SitHours: Number of hours sitting per day

  11. SitMin: Number of minutes sitting per day

items

A character vector with the IPAQ item names ordered from 1 to 11, or a numeric vector indicating the column numbers of the IPAQ items in data.

keep

Logical, whether to keep the single items and whether to return variables containing the number of non-missing items on each scale for each respondent. The default is TRUE.

weight

Character vector with name of the body weight variable

Details

Value

The function returns 20 variables:

References

Craig et al. 2003 (https://doi.org/10.1249/01.MSS.0000078924.61453.FB)

The IPAQ Group (2005). Guidelines for Data Processing and Analysis of the International Physical Activity Questionnaire. Retrieved from (http://www.ipaq.ki.se)

Examples

1
2
3
4
5
## Not run: 
library(dplyr)
scoring_ipaqsf(mydata, items = items.ipaq, weight = WEIGHT)

## End(Not run)

nrkoehler/qscorer documentation built on April 5, 2020, 3:09 a.m.