-
ce_plot()-
add
wtp_linetypeargument toce_plot()(and default to"dashed") to given control to user and differentiate C-E plane from main axes. -
add
shapeargument which maps to the shape aesthetic ingeom_point(). User can also specifyshape = "cost-effective"to map it to whether that point is under the WTP/cost-effectiveness plane, orshape = "method"to map it to the cutpoint method. -
add
add_prop_ceargument. IfTRUE, the % of points for that cutpoint method is concatenated to the the method name in the figure legend. -
outcome costs were incorrectly excluded from the costs used in the incremental cost axis before. These are now added to the calculations in
evaluate_cutpoint_cost()and reflected in thece_plot(). Before, the incremental costs ince_plot()were treatment costs alone.
-
-
Track QALYs and intervention costs
-
Track QALYs and intervention costs separately from NMB within simulations
-
get_nmb_sampler()now returns aNMBsamplerobject with attributes to indicate whether QALYs should be tracked during simulations and the WTP used -
If QALYs are tracked,
ce_plot()can be used to create a cost-effectiveness plot
-
-
Updates to README, vignettes and documentation for clarity
-
Many updates in response to peer review with ropensci see #566 (response comment)
-
Efficiency improvements and generally improved coding style
-
Use of
autoplot()method instead ofplot() -
Use of
summary()method instead ofmake_summary_table() -
Removal of default themes in plots in exchange for
... + theme_sim() -
Improvements and corrections to vignettes
-
-
First submitted version of predictNMB to rOpenSci
-
Includes functions for simulating and evaluating clinical prediction models regarding their the estimated Net Monetary Benefit (NMB)