Coder Social home page Coder Social logo

n8thangreen / treesimr Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 3.0 2.27 MB

:palm_tree::left_right_arrow::pill: Easy, robust forward simulating decision trees, calculating cost-effectiveness and PSA.

Home Page: https://n8thangreen.github.io/treeSimR/

R 100.00%
cost-effectiveness decision-tree psa

treesimr's Introduction

treeSimR

Build Status AppVeyor build status Coverage status experimental

An R package for easy, robust forward simulating probability decision trees, calculating cost-effectiveness and probability sensitivity analysis (PSA).

Introduction

The package currently contains functions to:

  • read-in and check tree object
  • simulate final expected outcomes
  • Monte-Carlo simulate multiple simulations

TODO

  • iteratively collapse expected outcome (from right to left)
  • iteratively collapse chance nodes (from right to left)
  • optimal decision function (iterative from right to left)

The package leans heavily on the data.tree package, (introduction here and examples here ).

Installing treeSimR

To install the development version from github:

library(remotes)
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.

License

GPL-3 ©

treesimr's People

Contributors

n8thangreen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

treesimr's Issues

plotting functions

start with previous IDEA plots
#8

tornado plots
spider graphs

strategy region plots

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.