From d26b7c1bfc4da0696e05462cd352b6f09bb03a7f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 10 Sep 2017 00:35:45 +0200 Subject: gnu: Add r-drr. * gnu/packages/cran.scm (r-drr): New variable. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f424b6d86e..6d4d694b6e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -982,3 +982,27 @@ contexts.") "This package provides tools for the estimation and simulation of latent variable models.") (license license:gpl3))) + +(define-public r-drr + (package + (name "r-drr") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "DRR" version)) + (sha256 + (base32 + "1scfwp6ry6apxzqjclsmn2frxp9qfw6zxsxn5w0j0q3sz42hz1h2")))) + (properties `((upstream-name . "DRR"))) + (build-system r-build-system) + (propagated-inputs + `(("r-cvst" ,r-cvst) + ("r-kernlab" ,r-kernlab) + ("r-matrix" ,r-matrix))) + (home-page "http://cran.r-project.org/web/packages/DRR") + (synopsis "Dimensionality reduction via regression") + (description + "This package provides an implementation of dimensionality reduction via +regression using Kernel Ridge Regression.") + (license license:gpl3))) -- cgit v1.2.3