pierucci / heemod

:chart_with_upwards_trend:Markov Models for Health Economic Evaluations
https://pierucci.org/heemod/
Other
41 stars 25 forks source link

Uncertainity Analysis is not working #328

Open palash6347 opened 5 years ago

palash6347 commented 5 years ago

I tried to replicate the results described in the Markov Models for Health Economic Evaluations: The R Package "heemod" vignette. But it throws an error in the res_dsa () function and hence the subsequence commands.

res_dsa <- run_dsa(res_mod, dsa = def_dsa) Running DSA on strategy 'base'... |=========================================================================================|100% ~0 s remaining Running DSA on strategy 'med'... |=========================================================================================|100% ~0 s remaining Running DSA on strategy 'surg'... |=========================================================================================|100% ~0 s remaining

plot(res_dsa, result = "cost", strategy = "med") Error: predicate must be a closure or function pointer