Skip to content
Eline Krijkamp edited this page Nov 17, 2021 · 4 revisions

OpenTree is an R package that can be used to create decision trees and Markov models in R. OpenTree does two things: 1. To allow a user to interactively build and modify their trees and 2. to let them convert the structure of the tree into R objects, such as matrices and vectors, that can be used in R directly.

Functions

OpenTree currently supports several functions:

  1. create_tree() which takes in a path for a .json file, and
  2. open_tree() which allows opening a previously modified tree.
  3. evaluate_model() which evaluated the model structure and extract probability weights and outcomes of the decision tree.

Get Started

The file named "Introductiton OpenTree.Rmd" is a Markdown document with instructions and code that will allow you to install OpenTree.

Please note that OpenTree is still in development mode. Please report any bugs or experiences via our the issues page on GitHub.

We hope you enjoy using OpenTree!

DARTH working group

Clone this wiki locally