# Calculate probabilities of cost effectiveness using the example dataframe,
data("df_pa")
df_pa$t_qaly_d_int2 <- df_pa$t_qaly_d_int * 1.5 # creating additional outcome variable
df_pa$t_costs_d_int2 <- df_pa$t_costs_d_int * 1.5 # creating additional cost variable
calculate_ceac_mult(df = df_pa,
outcomes = c("t_qaly_d_int", "t_qaly_d_comp", "t_qaly_d_int2"),
costs = c("t_costs_d_int","t_costs_d_comp", "t_costs_d_int2")
)
Run the code above in your browser using DataLab