gpaq: gpag: Calculating Unweighted variables for the Global...

View source: R/gpaq.R

gpaqR Documentation

gpag: Calculating Unweighted variables for the Global Physical Activity Questionnaire (GPAQ)

Description

Prepare a dataset with unweighted variables and indiviual measures

Usage

gpaq(Data)

Arguments

Data

Data is the dataframe which contains all information from the GPAQ – Global Physical Activity questionnaire

Details

gpaq function generates unweighted variables mentioned in the GPAQ Analysis Guide at the individual level. Unweighted variables are listed as follows:
"meet": reports percentage of respondents who do not meet WHO recommendations on physical activity for health.
"ptotal" sum of all activities per week.
"ptotalday": sum of all activities per week divided by 7 to get avg. per day.
"percentwork": percent of all activity from work related activities.
"percenttrans": percent of all activity from transportation related activities.
"percentrec": percent of all activity from recreational activities.
"work": indicates whether or not respondent did any work related activity.
"trans": indicates whether or not respondent did any transport related activity.
"rec": indicates whether or not respondent did any recreation related activity.
"vig": indicates whether or not respondent did any vigorous activity.
"pworkday": Average work-related activity per day in minutes.
"ptravelday": Average transportrelated activity per day in minutes.
"precday": Average recreationrelated activity per day in minutes.
"ptotalCat": indicates whether or not respondent had "Low", "Medium", or "High" physical activity.

Value

An object of class 'data.frame'

Examples

data=gpag(my_data)


mhajihos/GPAQ documentation built on Nov. 21, 2023, 6:52 p.m.