Model name
Decisions (strategies):
Markov states Initial probabilities Max cycles in states (Tunnel lengths)
Payoffs Discount rates
Description of the image © Hawre Jalal, DASH Lab. All rights reserved.

twig R code

Use DecisionTwig to build and modify twig R code available on CRAN and GitHub.

A good place to start is going through the vignettes on GitHub. You can use [Load Example] which loads a simple twig code. Then, press [Generate Twig] to populate the model on the left. Once done, press [Generate Code] to update the R code.

Quick instructions: