# NOT RUN {
total_utility(10, 5, 20, 10, utility_tp = 3, utility_tn = 3, cost_fp = 1, cost_fn = 5)
total_utility(c(10, 8), c(5, 7), c(20, 12), c(10, 18),
utility_tp = 3, utility_tn = 3, cost_fp = 1, cost_fn = 5)
# }
Run the code above in your browser using DataLab