Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 926 Bytes

File metadata and controls

31 lines (20 loc) · 926 Bytes

modelgraph

An R interface for the tikz LaTeX package for making compartmental model flow diagrams

Éric Marty

modelgraph is designed to produce flow diagrams for compartmental models, stored as LaTeX code.

As such, modelgraph works most seamlessly within an Rmarkdown document with PDF output, where the stored LaTeX code can be embedded in the document directly. However, the LaTeX code can also be saved to a .tex file for inclusion elsewhere.

Here’s an example of what is possible using modelgraph:

Installation

modelgraph is under active development. It will eventually be released as an R package. It is possible to use modelgraph in its current state. Please read pre-release-introduction.Rmd or pre-release-introduction.pdf for instructions.