get_camsa_skill_time_score: Compute the CAMSA skill + time score.

Description Usage Arguments Details Value Examples

View source: R/physical_competence.R

Description

This function computes the CAMSA (Canadian Agility and Movement Skill Assessment) skill + time score (e.g., camsa_skill_time_score1) for a given trial. This score is used to compute the CAMSA score (camsa_score).

Usage

1
get_camsa_skill_time_score(camsa_skill_score = NA, camsa_time_score = NA)

Arguments

camsa_skill_score

A numeric (integer) vector representing the CAMSA skill score (valid values are between 0 and 14).

camsa_time_score

A numeric vector representing the CAMSA time score (valid values are between 1 and 14).

Details

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

Value

Returns a numeric (integer) vector with values between 1 and 28 (if valid) or NA (if not valid).

Examples

1
2
3
4
5
6
get_camsa_skill_time_score(
  camsa_skill_score = c(0, 5, 10, 14, 15),
  camsa_time_score = c(1, 10, 12, 15, 30)
)

# [1]  1 15 22 NA NA

capl documentation built on March 16, 2021, 9:06 a.m.