View source: R/motivation_and_confidence.R
get_intrinsic_motivation_score | R Documentation |
This function computes an intrinsic motivation score (intrinsic_motivation_score
) for responses to items 1-3 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
).
get_intrinsic_motivation_score( why_active1 = NA, why_active2 = NA, why_active3 = NA )
why_active1 |
A numeric (integer) vector representing a response to BREQ item 1 (valid values are integers between 1 and 5). |
why_active2 |
a numeric (integer) vector representing a response to BREQ item 2 (valid values are integers between 1 and 5). |
why_active3 |
a numeric (integer) vector representing a response to BREQ item 3 (valid values are integers between 1 and 5). |
Other capl
functions called by this function include: validate_scale()
.
Valid values (integers between 1 and 5) represent the following responses:
1 = Not true for me
2 = Not really true for me
3 = Sometimes true for me
4 = Often true for me
5 = Very true for me
Returns a numeric vector with values between 1.5 and 7.5 (if valid) or NA (if not valid).
get_intrinsic_motivation_score( why_active1 = c(4, 3, 6, 5, "2"), why_active2 = c(1:5), why_active3 = c(1, 5, 4, 3, 3) ) # [1] 3 5 NA 6 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.