get_self_report_pa_score: Compute a score for a response to the self-reported physical activity question.
Description
This function computes a score (self_report_pa_score) for a response to "During the past week (7 days), on how many days were you physically active for
a total of at least 60 minutes per day? (all the time you spent in activities that increased your heart rate and made you breathe hard)?" in
the CAPL-2 Questionnaire. This score is used to compute the daily
behaviour domain score (db_score).
Usage
get_self_report_pa_score(x = NA)
Arguments
x
A numeric (integer) vector representing the self-reported physical activity question (valid values are integers between 0 and 7).
Value
Returns a numeric (integer) vector with values between 0 and 5 (if valid) or NA (if not valid).
Details
Other capl functions called by this function include: validate_scale().