Functions for Visualising Simple Graphs (Networks), Plotting Flow Diagrams

Visualises simple graphs (networks) based on a transition matrix, utilities to plot flow diagrams, visualising webs, electrical networks, etc. Support for the book "A practical guide to ecological modelling - using R as a simulation platform" by Karline Soetaert and Peter M.J. Herman (2009), Springer. and the book "Solving Differential Equations in R" by Karline Soetaert, Jeff Cash and Francesca Mazzia (2012), Springer. Includes demo(flowchart), demo(plotmat), demo(plotweb).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("diagram")

1.6.5 by Karline Soetaert, 6 years ago


Browse source code at https://github.com/cran/diagram


Authors: Karline Soetaert <[email protected]>


Documentation:   PDF Manual  


GPL (>= 2) license


Imports stats, graphics

Depends on shape


Imported by CARMS, LMest, MDP2, StratigrapheR, cfda, dtpcrm, hydroState, irtawsi, leem, lqmix, maat, mlts, plspm, prodlim, soilfoodwebs.

Depended on by Rramas, ecolMod, genpathmox.

Suggested by FME, PGRdup, QAEnsemble, datafsm, diffEnrich, heemod, markovchain, primer.


See at CRAN