1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-26 12:10:29 +02:00

gnu: Add r-nipals.

* gnu/packages/cran.scm (r-nipals): New variable.

Change-Id: I1624257c2e72028bc010ed9910dbae86c743f7b4
Signed-off-by: Simon Tournier <zimon.toutoune@gmail.com>
Merges: guix/guix!6634
This commit is contained in:
Laurent Gatto
2026-02-22 21:12:20 +01:00
committed by Simon Tournier
parent 4458d075ad
commit 0be8d5caea

View File

@@ -44,6 +44,7 @@
;;; Copyright © 2025 Jonas Freimuth <jonas.freimuth@posteo.de>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;; Copyright © 2026 Yarl Baudig <yarl-baudig@mailoo.org>
;;; Copyright © 2026 Laurent Gatto <lgatto@protonmail.ch>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5791,6 +5792,29 @@ data.")
can read and write both the metadata and the cell data in a Sheet.")
(license license:expat)))
(define-public r-nipals
(package
(name "r-nipals")
(version "1.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "nipals" version))
(sha256
(base32 "1aasm7ifnlxwaywq0g7v5m2w6jl7kld08k9gn3vbsm43wnpp0ahw"))))
(properties `((upstream-name . "nipals")))
(build-system r-build-system)
(native-inputs (list r-knitr r-testthat))
(home-page "https://kwstat.github.io/nipals/")
(synopsis "Principal Components Analysis using NIPALS or weighted EMPCA")
(description
"This package provides Principal Components Analysis (PCA) of matrix
using Non-linear Iterative Partial Least Squares (NIPALS) or weighted
Expectation Maximization PCA (EMPCA) with Gram-Schmidt orthogonalization of
the scores and loadings. See Andrecut (2009)
@url{doi:10.1089/cmb.2008.0221}.")
(license license:expat)))
(define-public r-pbapply
(package
(name "r-pbapply")