Package: twig 1.0.0.0

twig: For Streamlining Decision and Economic Evaluation Models using Grammar of Modeling

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/>.

Authors:Hawre Jalal [aut, cre]

twig_1.0.0.0.tar.gz
twig_1.0.0.0.zip(r-4.5)twig_1.0.0.0.zip(r-4.4)twig_1.0.0.0.zip(r-4.3)
twig_1.0.0.0.tgz(r-4.5-any)twig_1.0.0.0.tgz(r-4.4-any)twig_1.0.0.0.tgz(r-4.3-any)
twig_1.0.0.0.tar.gz(r-4.5-noble)twig_1.0.0.0.tar.gz(r-4.4-noble)
twig_1.0.0.0.tgz(r-4.4-emscripten)twig_1.0.0.0.tgz(r-4.3-emscripten)
twig.pdf |twig.html
twig/json (API)

# Install 'twig' in R:
install.packages('twig', repos = c('https://hjalal.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hjalal/twig/issues

Pkgdown site:https://hjalal.github.io

On CRAN:

5.30 score 3 stars 11 scripts 160 downloads 11 exports 38 dependencies

Last updated 20 days agofrom:30de18f34d. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 31 2025
R-4.5-winOKJan 31 2025
R-4.5-macOKJan 31 2025
R-4.5-linuxOKJan 31 2025
R-4.4-winOKJan 31 2025
R-4.4-macOKJan 31 2025
R-4.3-winOKJan 31 2025
R-4.3-macOKJan 31 2025

Exports:%out%calculate_icersdecisionseventpayoffsplot_ceacprob2raterate2probrun_twigstatestwig

Dependencies:abindclicodetoolscolorspacedoParallelfansifarverforeachggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbleutf8vctrsviridisLitewithr

A Tutorial for Time Dependent Markov Model

Rendered frommarkov_time_dep.Rmdusingknitr::rmarkdownon Jan 31 2025.

Last update: 2025-01-31
Started: 2025-01-08

Decision Tree Herpes Virus Encephalopathy

Rendered fromdecision_tree.Rmdusingknitr::rmarkdownon Jan 31 2025.

Last update: 2025-01-14
Started: 2025-01-08