Calculate Fatal Resistance Prevalence (R_k)
Source:R/daly_rr_and_los.R
daly_calc_resistance_prevalence_fatal.RdComputes the profile-weighted expected proportion of deaths attributable to resistance (R_k) and the expected odds ratio of death (E[OR_death]) for each pathogen.
Usage
daly_calc_resistance_prevalence_fatal(
profiles_with_rr,
probability_col = "probability",
rr_profile_col = "RR_LOS_profile"
)Arguments
- profiles_with_rr
Named list returned by
daly_assign_rr_to_profiles()ordaly_filter_profiles_to_rr_classes().- probability_col
Character. Profile probability column. Default
"probability".- rr_profile_col
Character. Profile-level OR column. Default
"RR_LOS_profile".