aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-01-09 17:11:08 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-09 17:13:52 +0100
commit39274ab4d956f6037bcd6ca814333bda5dddb650 (patch)
treebf13a29ee7d587fd12e0920c353fe0ab388527b2 /gnu/packages
parent0af9616d9186874e3769f8b69f9a550b267ae767 (diff)
downloadguix-39274ab4d956f6037bcd6ca814333bda5dddb650.tar.gz
guix-39274ab4d956f6037bcd6ca814333bda5dddb650.zip
gnu: Add r-parcor.
* gnu/packages/cran.scm (r-parcor): New variable.
Diffstat (limited to 'gnu/packages')
-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 40cb0b149d..9947ff3ab4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10334,3 +10334,30 @@ regression coefficients can be conducted via jackknifing.")
undirected graph estimation. It integrates data preprocessing, neighborhood
screening, graph estimation, and model selection techniques into a pipeline.")
(license license:gpl2)))
+
+(define-public r-parcor
+ (package
+ (name "r-parcor")
+ (version "0.2-6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "parcor" version))
+ (sha256
+ (base32
+ "0vgs6k92vdr0cmb8cwbv2ff6qavw30agskfd8bfh17hsskrisvx0"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-epi" ,r-epi)
+ ("r-genenet" ,r-genenet)
+ ("r-glmnet" ,r-glmnet)
+ ("r-mass" ,r-mass)
+ ("r-ppls" ,r-ppls)))
+ (home-page "https://cran.r-project.org/web/packages/parcor")
+ (synopsis "Regularized estimation of partial correlation matrices")
+ (description
+ "This package estimates the matrix of partial correlations based on
+different regularized regression methods: lasso, adaptive lasso, PLS, and
+Ridge Regression. In addition, the package provides model selection for
+lasso, adaptive lasso and Ridge regression based on cross-validation.")
+ (license license:gpl2+)))