Learn R Programming

⚠️There's a newer version (1.6.5) of this package.Take me there.

diagram (version 1.6.4)

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

Description

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

Copy Link

Version

Install

install.packages('diagram')

Monthly Downloads

107,181

Version

1.6.4

License

GPL (>= 2)

Maintainer

Karline Soetaert

Last Published

August 16th, 2017

Functions in diagram (1.6.4)

coordinates

coordinates of elements on a plot
curvedarrow

adds curved arrow between two points
textempty

adds lines of text, on a colored background to a plot
texthexa

adds lines of text in an hexagonal box to a plot
textrect

adds lines of text in a rectangular-shaped box or in a parallelogram to a plot
textround

adds lines of text in a rounded box to a plot
diagram-package

Functions for visualising simple graphs (networks), plotting flow diagrams
Electrical

electric network symbols
splitarrow

adds a branched arrow between several points
straightarrow

adds straight arrow between two points
textmulti

adds lines of text in an multigonal box to a plot
textplain

adds lines of text to a plot
Rigaweb

Gulf of Riga autumn planktonic food web
Takapotoweb

Takapoto atoll planktonic food web
selfarrow

adds a circular, self-pointing arrow to a plot
shadowbox

adds a box with a shadow to a plot
Teasel

Population dynamics model transition matrix of teasel
bentarrow

adds 2-segmented arrow between two points
plotweb

plots a web
segmentarrow

adds 3-segmented arrow between two points.
treearrow

adds a dendrogram-like branched arrow between several points
openplotmat

Creates an empty plot used for diagram plotting.
plotmat

plots a graph (network), based on a transition matrix
textdiamond

adds lines of text in a diamand-shaped box to a plot
textellipse

adds lines of text in an ellipsoid box to a plot