Provides tools for building decision and cost-effectiveness analysis models. It enables users to write these models concisely, simulate outcomes—including probabilistic analyses—efficiently using optimized vectorized processes and parallel computing, and produce results. The package employs a Grammar of Modeling approach, inspired by the Grammar of Graphics, to streamline model construction. For an interactive graphical user interface, see 'DecisionTwig' at <https://www.dashlab.ca/projects/decision_twig/>. Comprehensive tutorials and vignettes are available at <https://hjalal.github.io/twig/>.
| Version: | 1.0.0.0 | 
| Imports: | ggplot2, parallel, foreach, utils, stats, reshape2, abind, doParallel | 
| Suggests: | knitr, rmarkdown | 
| Published: | 2025-01-16 | 
| DOI: | 10.32614/CRAN.package.twig | 
| Author: | Hawre Jalal | 
| Maintainer: | Hawre Jalal <hjalal at uottawa.ca> | 
| BugReports: | https://github.com/hjalal/twig/issues | 
| License: | GPL (≥ 3) | 
| URL: | https://www.dashlab.ca/, https://hjalal.github.io/twig/, https://www.dashlab.ca/projects/decision_twig/ | 
| NeedsCompilation: | no | 
| Materials: | README | 
| CRAN checks: | twig results | 
| Reference manual: | twig.html , twig.pdf | 
| Vignettes: | Decision Tree Herpes Virus Encephalopathy (source, R code) A Tutorial for Time Dependent Markov Model (source, R code) | 
| Package source: | twig_1.0.0.0.tar.gz | 
| Windows binaries: | r-devel: twig_1.0.0.0.zip, r-release: twig_1.0.0.0.zip, r-oldrel: twig_1.0.0.0.zip | 
| macOS binaries: | r-release (arm64): twig_1.0.0.0.tgz, r-oldrel (arm64): twig_1.0.0.0.tgz, r-release (x86_64): twig_1.0.0.0.tgz, r-oldrel (x86_64): twig_1.0.0.0.tgz | 
Please use the canonical form https://CRAN.R-project.org/package=twig to link to this page.