
Calculate 2020 Winther Basic PTP for obstructive CAD
Source:R/winther_ptp.R
calculate_winther_2020_basic_ptp.Rd
This function returns a patient's pre-test probability (PTP) of obstructive coronary artery disease based on the 2020 Winther et. al. basic model (Basic_PTP).
Arguments
- age
Input numeric value to indicate the age of the patient.
- sex
Input characters (female, male) to indicate the sex of the patient.
female
male
- chest_pain_type
Input characters (no chest pain, typical, atypical, nonanginal) to indicate the chest pain characteristics of the patient.
no chest pain stands for the patient having no chest pain.
typical stands for the patient having typical chest pain.
atypical stands for the patient having atypical chest pain.
nonanginal stands for the patient having nonanginal or non-specific chest pain.
Value
A numeric value representing the patient's PTP for obstructive CAD based on the 2020 Winther et. al. basic model (Basic_PTP).
Details
The predictive model is based on > 40000 symptomatic patients from 2008 to 2017 from 13 hospitals in Western Denmark. These patients are registered under the Western Denmark Heart Registry.
Examples
# 40 year old Male with typical chest pain
calculate_winther_2020_basic_ptp(
age = 40,
sex = "male",
chest_pain_type = "typical"
)
#> [1] 0.1430237
# 40 year old Male with nonanginal chest pain
calculate_winther_2020_basic_ptp(
age = 40,
sex = "male",
chest_pain_type = "nonanginal"
)
#> [1] 0.02218292