get_camsa_time_score: Compute the CAMSA time score.

View source: R/physical_competence.R

get_camsa_time_scoreR Documentation

Compute the CAMSA time score.

Description

This function computes the CAMSA (Canadian Agility and Movement Skill Assessment) time score based on the time taken (in seconds) to complete a trial.

Usage

get_camsa_time_score(camsa_time = NA)

Arguments

camsa_time

A numeric vector representing the time taken (in seconds) to complete a CAMSA trial (valid values are > 0).

Details

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

Value

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

Examples

get_camsa_time_score(c(14, 12, 30, 25, 0))

# [1] 13 14  1  4 NA


capl documentation built on April 8, 2022, 9:06 a.m.