View source: R/compute_pro_score_cppac.R
compute_pro_score_cppac | R Documentation |
This function provides a score (from 0 to 4) in relation to the response to a given question from the C-PPAC questionnaire.
compute_pro_score_cppac(
x,
question = c("q1", "q2", "q3", "q4", "q5", "q6", "q7", "q8", "q9", "q10", "q11", "q12"),
language = c("en", "fr")
)
x |
A character string that is the exact response to the considered question from the C-PPAC questionnaire. |
question |
A character value to identify the question to be considered when providing the score. |
language |
A character value for setting the language of the considered questionnaire. |
A numeric value.
compute_pro_score_cppac(
x = "A lot (about 1 hour every day)",
question = "q1",
language = "en"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.