calculate_esc_2024_fig_4_ptp_simplfied {pretestcad} | R Documentation |
Calculate ESC 2024 PTP for obstructive CAD
Description
This function returns a patient's pre-test Probability (PTP) of obstructive coronary artery disease (CAD) based on the European Society of Cardiology (ESC) 2024 guidelines.
Usage
calculate_esc_2024_fig_4_ptp_simplfied(
age,
sex,
symptom_score,
num_of_rf,
output = c("grouping", "numeric", "percentage")
)
Arguments
age |
Input integer value to indicate the age of the patient. |
sex |
Input characters (female, male) to indicate the sex of the patient.
|
symptom_score |
An integer indicating the symptom score of the patient.
This value can be calculated via the |
num_of_rf |
An integer indicating the number of risk factors the patient has.
This value can be calculated via the
|
output |
Input text to indicate the how pre-test probability results be expressed Default: c("grouping", "numeric", "percentage")
|
Value
An integer, percentage or category representing the patient's PTP for obstructive CAD
based on the ESC 2024 guidelines.
See parameter option output
for more information.
Examples
# 30 female with symptom score of 0 and 0 risk factors
calculate_esc_2024_fig_4_ptp_simplfied(
age = 30,
sex = "female",
symptom_score = 0,
num_of_rf = 0,
output = "percentage"
)