From b579bc42dd7b426c6bb520a70c2d042af28800dc Mon Sep 17 00:00:00 2001 From: "Afkhami, Navid" Date: Mon, 19 Aug 2024 15:14:59 +0000 Subject: gnu: Add r-cca. * gnu/packages/cran.scm (r-cca): New variable. Change-Id: Icc3411c5b57e97d8fc9f6e749f280b62572c32b3 Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 43e4cf416b..5209fcc9ce 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -42299,6 +42299,28 @@ (define-public r-mmwrweek convert dates to MMWR day, week, and year and the reverse.") (license license:gpl2+))) +(define-public r-cca + (package + (name "r-cca") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "CCA" version)) + (sha256 + (base32 "0r1f7m64608hq6bpw36wsw6fr4s8bj26x4062brqgn5dbpqlgczk")))) + (properties `((upstream-name . "CCA"))) + (build-system r-build-system) + (propagated-inputs (list r-fda r-fields)) + (home-page "https://cran.r-project.org/package=CCA") + (synopsis "Canonical correlation analysis") + (description + "This package contains a set of functions that extend the @code{cancor} +function. These functions provide new numerical and graphical outputs. It +also includes a regularized extension of the canonical correlation analysis to +deal with datasets with more variables than observations.") + (license license:gpl2+))) + (define-public r-cccd (package (name "r-cccd") -- cgit v1.2.3