calculate_cad2_2012_basic_ptp {pretestcad} | R Documentation |
Calculate 2012 CAD2 Basic PTP for obstructive CAD
Description
This function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on the 2012 CAD Consortium 2 (CAD2) basic model.
Usage
calculate_cad2_2012_basic_ptp(age, sex, chest_pain_type)
Arguments
age |
Input numeric value to indicate the age of the patient. |
sex |
Input characters (female, male) to indicate the sex of the patient.
|
chest_pain_type |
Input characters (typical, atypical, nonanginal) to indicate the chest pain characteristics of the patient.
|
Details
The predictive model is based on patients from 18 hospitals in Europe and the United States.
Value
A numeric value representing the patient's PTP for obstructive CAD based on the 2012 CAD Consortium 2 (CAD2) basic model.
Examples
# 40 year old female with typical chest pain
calculate_cad2_2012_basic_ptp(
age = 40,
sex = "female",
chest_pain_type = "typical"
)