options(width = 1000) knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
An R package for easy, robust forward simulating probability decision trees, calculating cost-effectiveness and probability sensitivity analysis (PSA).
Currently contains functions to:
TODO
The package leans heavily on the data.tree
package,
(introduction here and examples here ).
To install the development version from github:
library(devtools) install_github("n8thangreen/treeSimR")
Then, to load the package, use:
library("treeSimR")
See package Vignettes for more details and examples.
For plotting functions (e.g. C-E plane, C-E curve, risk profile (with uncertainty), tornado, spider, ...) see the plotCostEffectiveness package.
GPL-3 ©
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.