get_pa_competence_score {capl}R Documentation

Compute a physical activity competence score.

Description

This function computes a physical activity competence score (pa_competence_score) for responses to items 4-6 of the the Behavioral Regulation in Exercise Questionnaire (BREQ) as they appear in the CAPL-2 Questionnaire. This score is used to compute the motivation and confidence domain score (mc_score).

Usage

get_pa_competence_score(
  feelings_about_pa1 = NA,
  feelings_about_pa2 = NA,
  feelings_about_pa3 = NA
)

Arguments

feelings_about_pa1

A numeric (integer) vector representing a response to BREQ item 4 (valid values are integers between 1 and 5).

feelings_about_pa2

A numeric (integer) vector representing a response to BREQ item 5 (valid values are integers between 1 and 5).

feelings_about_pa3

A numeric (integer) vector representing a response to BREQ item 6 (valid values are integers between 1 and 5).

Details

Other capl functions called by this function include: validate_scale().

Valid elements (integers between 1 and 5) represent the following responses:

Value

Returns a numeric vector with values between 1.5 and 7.5 (if valid) or NA (if not valid).

Examples

get_pa_competence_score(
  feelings_about_pa1 = c(4, 3, 6, 5, "2"),
  feelings_about_pa2 = c(1:5),
  feelings_about_pa3 = c(1, 5, 4, 3, 3)
)

# [1]  3  5 NA  6  5


[Package capl version 1.39 Index]