View source: R/physical_competence.R
get_pacer_score | R Documentation |
This function computes a PACER (Progressive Aerobic Cardiovascular Endurance Run) score (pacer_score
) based on the number of PACER laps run at a
20-metre distance. This score is used to compute the physical competence domain score variable (pc_score
).
get_pacer_score(pacer_laps_20m = NA)
pacer_laps_20m |
A numeric (integer) vector (valid values between 1 and 229). |
Other capl
functions called by this function include: validate_scale()
and validate_integer()
.
Returns a numeric (integer) vector with values between 0 and 10 (if valid) or NA (if not valid).
get_pacer_score(c(1, 6, 12, 18, NA, 46, 31, 45.1)) # [1] 0 1 2 3 NA 9 6 NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.