From c71724653ab2b75ef533e9b9920e7b3f735154ad Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 14 Dec 2019 13:32:49 +0100 Subject: [PATCH] gnu: Add r-shapes. * gnu/packages/cran.scm (r-shapes): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index dbaf4f88af..6ef9f2e680 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -18563,3 +18563,32 @@ (define-public r-archetypes archetypal analysis supporting arbitrary problem solving mechanisms for the different conceptual parts of the algorithm.") (license license:gpl2+))) + +(define-public r-shapes + (package + (name "r-shapes") + (version "1.2.5") + (source + (origin + (method url-fetch) + (uri (cran-uri "shapes" version)) + (sha256 + (base32 + "0gfpdydfysp5mwg7qmkn73s67gvh2szb40mzqrx97h41ijgcgd8s")))) + (properties `((upstream-name . "shapes"))) + (build-system r-build-system) + (propagated-inputs + `(("r-mass" ,r-mass) + ("r-minpack-lm" ,r-minpack-lm) + ("r-rgl" ,r-rgl) + ("r-scatterplot3d" ,r-scatterplot3d))) + (home-page "http://www.maths.nottingham.ac.uk/~ild/shapes") + (synopsis "Statistical shape analysis") + (description + "This package provides routines for the statistical analysis of landmark +shapes, including Procrustes analysis, graphical displays, principal +components analysis, permutation and bootstrap tests, thin-plate spline +transformation grids and comparing covariance matrices. See Dryden, I.L. and +Mardia, K.V. (2016). Statistical shape analysis, with Applications in R (2nd +Edition), John Wiley and Sons.") + (license license:gpl2)))