get_camsa_time_score {capl}R 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


[Package capl version 1.42 Index]