pco2_param_check: Check vector of pCO2 values.

View source: R/parameter_checks.R

pco2_param_checkR Documentation

Check vector of pCO2 values.

Description

pco2_param_check checks a vector of pCO2 values for abnormal or missing values. Abnormal values are designed to catch values entered in error rather than representing a 'normal' physiological range. If abnormal values are seen, a warning is raised. If missing values are found an error is raised. Abnormal values are defined as pCO2 < 1kPa or pCO2 > 20kPa

Usage

pco2_param_check(pco2, inputs_are_kpa = TRUE)

Arguments

pco2

CO2 partial pressure

inputs_are_kpa

If TRUE, input pCO2 is in kPa, if FALSE use mmHg

Value

No return value.


bakenzua/co2ntent documentation built on Feb. 8, 2024, 2:37 a.m.