Multiplies YLD_k (from calculate_YLD()) by the associated
burden score/fraction (from compute_fraction_associated()).
Usage
compute_yld_associated(
yld_k_tbl,
fraction_assoc_list,
pathogen_col = "pathogen",
yld_col = "YLD",
probability_col = "probability",
rr_profile_col = "RR_LOS_profile"
)Arguments
- yld_k_tbl
Data frame from
calculate_YLD()containing at least a pathogen column and a YLD column.- fraction_assoc_list
Named list from
compute_fraction_associated().- pathogen_col
Character. Pathogen column in
yld_k_tbl. Default"pathogen".- yld_col
Character. YLD column in
yld_k_tbl. Default"YLD".- probability_col
Character. Profile probability column in
per_profile. Default"probability".- rr_profile_col
Character. Profile LOS/RR column in
per_profile. Default"RR_LOS_profile".