gpaq | R Documentation |
Prepare a dataset with unweighted variables and indiviual measures
gpaq(Data)
Data |
Data is the dataframe which contains all information from the GPAQ – Global Physical Activity questionnaire |
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.
An object of class 'data.frame'
data=gpag(my_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.