
Calculate 2012 CAD2 Basic PTP for obstructive CAD
Source:R/cad_consortium_ptp.R
      calculate_cad2_2012_basic_ptp.RdThis function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on the 2012 CAD Consortium 2 (CAD2) basic model.
Arguments
- age
- Input numeric value to indicate the age of the patient in years. 
- sex
- The value of variable in the parameters - label_sex_male,- label_sex_femaleand- label_sex_unknown.
- chest_pain_type
- The value of variable in the parameters, - label_cpt_nonanginal,- label_cpt_atypical,- label_cpt_typicaland- label_cpt_unknown.
- label_sex_male
- Label(s) for definition(s) of male sex. Default: - c("male")
- label_sex_female
- Label(s) for definition(s) of female sex. Default: - c("female")
- label_sex_unknown
- Label(s) for definition(s) of missing sex. Default: - c(NA, NaN)
- label_cpt_nonanginal
- Label(s) for patient having nonanginal or non-specific chest pain. Default: - c("nonanginal")
- label_cpt_atypical
- Label(s) for patient having atypical chest pain. Default: - c("atypical")
- label_cpt_typical
- Label(s) for patient having typical chest pain. Default: - c("typical")
- label_cpt_unknown
- Label(s) for patient having unknown chest pain type symptoms. Default: - c(NA, NaN)
Value
A numeric value representing the patient's PTP for obstructive CAD based on the 2012 CAD Consortium 2 (CAD2) basic model.