aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-17 19:18:26 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-17 20:02:15 +0100
commitc686e53afe184f086576901ee1d2f8a45a474606 (patch)
tree1ecae301471a3e6107adf725a3269355ecf42cc3 /gnu
parent5828dd030b4cf3920573f7982420999aa5743100 (diff)
downloadpatches-c686e53afe184f086576901ee1d2f8a45a474606.tar
patches-c686e53afe184f086576901ee1d2f8a45a474606.tar.gz
gnu: Add r-diagram.
* gnu/packages/cran.scm (r-diagram): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 24eade12ec..117362cd9f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18833,3 +18833,30 @@ function} (CDF) of the Poisson binomial distribution. It also provides the
@dfn{probability mass function} (PMF), quantile function, and random number
generation for the Poisson binomial distribution.")
(license license:gpl2)))
+
+(define-public r-diagram
+ (package
+ (name "r-diagram")
+ (version "1.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "diagram" version))
+ (sha256
+ (base32
+ "0f6ffprn5k0ir1s7m9s7izc64aa17r3gnygagz5bihrlsvawaavw"))))
+ (properties `((upstream-name . "diagram")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-shape" ,r-shape)))
+ (home-page "https://cran.r-project.org/web/packages/diagram/")
+ (synopsis "Visualize simple graphs (networks) and plot flow diagrams")
+ (description
+ "This package provides tools to visualize simple graphs (networks) based
+on a transition matrix, utilities to plot flow diagrams, visualizing webs,
+electrical networks, etc. It also includes supporting material for the book
+\"A practical guide to ecological modelling - using R as a simulation
+platform\" by Karline Soetaert and Peter M.J. Herman (2009) and the book
+\"Solving Differential Equations in R\" by Karline Soetaert, Jeff Cash and
+Francesca Mazzia (2012).")
+ (license license:gpl2+)))