Closed feralaes closed 4 years ago
Hi @gknowlt , would it be possible to add a progress bar to calc_evppi and calc_evsi? Perhaps you can take the idea of the following code and instead of n_sim use length(v_wtp) for calc_evppi and perhaps n for calc_evsi
calc_evppi
calc_evsi
n_sim
length(v_wtp)
n
if(i/(n_sim/10) == round(i/(n_sim/10),0)) { # display progress every 10% cat('\r', paste(i/n_sim * 100, "% done", sep = " ")) }
Hi @gknowlt , would it be possible to add a progress bar to
calc_evppi
andcalc_evsi
? Perhaps you can take the idea of the following code and instead ofn_sim
uselength(v_wtp)
forcalc_evppi
and perhapsn
forcalc_evsi