get_pacer_20m_laps: Convert PACER shuttle run laps to their equivalent in 20-metre laps.
Description
This function converts PACER (Progressive Aerobic Cardiovascular Endurance Run) shuttle run laps to their equivalent in 20-metre laps (pacer_laps_20m).
If laps are already 20-metre laps, they are returned unless outside the valid range (1-229). This variable is used to compute the PACER score
(pacer_score).
A numeric (integer) vector (valid values are 15 or 20).
laps_run
A numeric (integer) vector (if lap_distance = 15, valid values are integers between 1 and 298; if lap_distance = 20, valid values
are integers between 1 and 229).
Value
Returns a numeric (integer) vector with values between 1 and 229 (if valid) or NA (if not valid).