mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add r-als.
* gnu/packages/cran.scm (r-als): New variable.
This commit is contained in:
parent
9401f56b81
commit
d28be7b76b
1 changed files with 31 additions and 0 deletions
|
@ -9283,3 +9283,34 @@ (define-public r-chemometricswithr
|
|||
\"Chemometrics with R - Multivariate Data Analysis in the Natural Sciences and
|
||||
Life Sciences\" by Ron Wehrens, Springer (2011).")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public r-als
|
||||
(package
|
||||
(name "r-als")
|
||||
(version "0.0.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (cran-uri "ALS" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1swrn39vy50fazkpf97r7c542gkj6mlvy8gmcxllg7mf2mqx546a"))))
|
||||
(properties `((upstream-name . "ALS")))
|
||||
(build-system r-build-system)
|
||||
(propagated-inputs
|
||||
`(("r-iso" ,r-iso)
|
||||
("r-nnls" ,r-nnls)))
|
||||
(home-page "https://cran.r-project.org/web/packages/ALS")
|
||||
(synopsis "Multivariate curve resolution alternating least squares")
|
||||
(description
|
||||
"Alternating least squares is often used to resolve components
|
||||
contributing to data with a bilinear structure; the basic technique may be
|
||||
extended to alternating constrained least squares. This package provides an
|
||||
implementation of @dfn{multivariate curve resolution alternating least
|
||||
squares} (MCR-ALS).
|
||||
|
||||
Commonly applied constraints include unimodality, non-negativity, and
|
||||
normalization of components. Several data matrices may be decomposed
|
||||
simultaneously by assuming that one of the two matrices in the bilinear
|
||||
decomposition is shared between datasets.")
|
||||
(license license:gpl2+)))
|
||||
|
|
Loading…
Reference in a new issue