View source: R/motivation_and_confidence.R
get_predilection_score | R Documentation |
This function computes a predilection score (predilection_score
) for responses to items 1, 3 and 5 of the CSAPPA (Children's Self-Perceptions of
Adequacy in and Predilection for Physical Activity; Hay, 1992) Questionnaire as they appear in the CAPL-2 Questionnaire. This score is used to compute
the motivation and confidence domain score (mc_score
).
get_predilection_score(csappa1 = NA, csappa3 = NA, csappa5 = NA)
csappa1 |
A numeric (integer) vector representing a response to CSAPPA item 1 (valid values are integers between 1 and 4). |
csappa3 |
A numeric (integer) vector representing a response to CSAPPA item 3 (valid values are integers between 1 and 4). |
csappa5 |
A numeric (integer) vector representing a response to CSAPPA item 5 (valid values are integers between 1 and 4). |
Valid values (integers between 1 and 4) represent the following responses:
1 = REALLY TRUE for me for "some kids" statements
2 = SORT OF TRUE for me for "some kids" statements
3 = REALLY TRUE for me for "other kids" statements
4 = SORT OF TRUE for me for "other kids" statements
Other capl
functions called by this function include: validate_scale()
.
Returns a numeric vector with values between 1.8 and 7.5 (if valid) or NA (if not valid).
get_predilection_score( csappa1 = c(1:3, 0), csappa3 = c(4, 2, 1, "3"), csappa5 = c(4, 4, 2, 2) ) # [1] 4.2 4.2 4.3 NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.