From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raoul Bonnal Subject: [PATCH 22/35] gnu: Add r-quantreg. Date: Thu, 19 Jan 2017 19:55:17 +0100 Message-ID: <20170119185530.35824-22-ilpuccio.febo@gmail.com> References: <20170119185530.35824-1-ilpuccio.febo@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUHsi-00063h-9F for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUHsh-0004gr-7D for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:20 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:35350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUHsh-0004gV-1n for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:19 -0500 Received: by mail-wm0-x242.google.com with SMTP id d140so1070043wmd.2 for ; Thu, 19 Jan 2017 10:56:18 -0800 (PST) In-Reply-To: <20170119185530.35824-1-ilpuccio.febo@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Raoul Jean Pierre Bonnal * gnu/packages/statistics.scm (r-quantreg): New variable. --- gnu/packages/statistics.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 9f8f53d..fc4f6f2 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -4514,3 +4514,30 @@ models written in C++ using Rcpp.") "This package models with sparse and dense matrix matrices, using modular prediction and response module classes.") (license license:gpl2+))) + +(define-public r-quantreg + (package + (name "r-quantreg") + (version "5.29") + (source + (origin + (method url-fetch) + (uri (cran-uri "quantreg" version)) + (sha256 + (base32 + "098gy8xv9kcl5y0cm93b8chr5sm6crrdxi20bkx9lmwmybl3himv")))) + (build-system r-build-system) + (inputs + `(("gfortran" ,gfortran))) + (propagated-inputs + `(("r-matrixmodels" ,r-matrixmodels) + ("r-sparsem" ,r-sparsem))) + (home-page "http://www.r-project.org") + (synopsis "Quantile regression") + (description + "This package provides an estimation and inference methods for models +of conditional quantiles: linear and nonlinear parametric and non-parametric +models for conditional quantiles of a univariate response and several methods +for handling censored survival data. Portfolio selection methods based on +expected shortfall risk are also included.") + (license license:gpl2+))) -- 1.9.1