get_pc_score {capl}R Documentation

Compute a physical competence domain score.

Description

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 (pc_score).

Usage

get_pc_score(pacer_score = NA, plank_score = NA, camsa_score = NA)

Arguments

pacer_score

A numeric (integer) vector representing the PACER score (valid values are integers between 0 and 10).

plank_score

a numeric (integer) vector representing the plank score (valid values are integers between 0 and 10).

camsa_score

A numeric vector representing the best CAMSA skill + skill score divided by 2.8 (valid values are between 0 and 10).

Details

Other capl functions called by this function include: validate_scale().

Value

Returns a numeric vector with values between 0 and 30 (if valid) or NA (if not valid).

Examples

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)
)

# [1]  7.5 10.0 19.0 20.0 18.0


[Package capl version 1.42 Index]