View source: R/physical_competence.R
This function computes a physical competence domain score (
pc_score) based on the PACER (Progressive Aerobic Cardiovascular Endurance Run), plank and
CAMSA (Canadian Agility and Movement Skill Assessment) scores. If one protocol score is missing or invalid, a weighted domain score will be computed from
the other two protocol scores. This score is used to compute the physical competence domain score (
get_pc_score(pacer_score = NA, plank_score = NA, camsa_score = NA)
A numeric (integer) vector representing the PACER score (valid values are integers between 0 and 10).
a numeric (integer) vector representing the plank score (valid values are integers between 0 and 10).
A numeric vector representing the best CAMSA skill + skill score divided by 2.8 (valid values are between 0 and 10).
capl functions called by this function include:
Returns a numeric vector with values between 0 and 30 (if valid) or NA (if not valid).
get_pc_score( pacer_score = c(1, 5, 8, 10, NA), plank_score = c(4, 5, 5, 6, 9), camsa_score = c(-1, 0, 6, 4, 3) ) #  7.5 10.0 19.0 20.0 18.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.