Learn R Programming

diagram (version 1.6.5)

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

137,191

Version

1.6.5

License

GPL (>= 2)

Last Published

September 30th, 2020

Functions in diagram (1.6.5)

plotmat

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

Creates an empty plot used for diagram plotting.
Takapotoweb

Takapoto atoll planktonic food web
Teasel

Population dynamics model transition matrix of teasel
bentarrow

adds 2-segmented arrow between two points
Rigaweb

Gulf of Riga autumn planktonic food web
diagram-package

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

electric network symbols
curvedarrow

adds curved arrow between two points
coordinates

coordinates of elements on a plot
textdiamond

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

adds a dendrogram-like branched arrow between several points
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
textmulti

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

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

adds a box with a shadow to a plot
textellipse

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

adds lines of text to a plot
texthexa

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

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

adds a branched arrow between several points
straightarrow

adds straight arrow between two points
plotweb

plots a web
segmentarrow

adds 3-segmented arrow between two points.