From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55257) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyyhZ-00081O-HT for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyyhY-0000mP-9Y for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:17 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36976) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyyhY-0000m0-50 for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyyhY-0008JE-2J for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:16 -0500 Subject: [bug#39416] [PATCH 19/34] gnu: Add package r-regsem Resent-Message-ID: From: Lars-Dominik Braun Date: Tue, 4 Feb 2020 14:56:11 +0100 Message-Id: <20200204135626.28261-19-ldb@leibniz-psychology.org> In-Reply-To: <20200204135626.28261-1-ldb@leibniz-psychology.org> References: <20200204135626.28261-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39416@debbugs.gnu.org Cc: Lars-Dominik Braun * gnu/packages/cran.scm (r-regsem): New variable. --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 100d9bd4dd..cf230ec076 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19752,3 +19752,33 @@ least squares.") (description "This package provides useful tools for structural equation modeling.") (license license:gpl2+))) + +(define-public r-regsem + (package + (name "r-regsem") + (version "1.3.9") + (source + (origin + (method url-fetch) + (uri (cran-uri "regsem" version)) + (sha256 + (base32 + "1klml4bp76mplipxaca7fk653cjxgdmmiciksxgiglxkzmf2bdps")))) + (properties `((upstream-name . "regsem"))) + (build-system r-build-system) + (propagated-inputs + `(("r-lavaan" ,r-lavaan) + ("r-rcpp" ,r-rcpp) + ("r-rcpparmadillo" ,r-rcpparmadillo) + ("r-rsolnp" ,r-rsolnp))) + (home-page + "https://cran.r-project.org/package=regsem") + (synopsis + "Regularized Structural Equation Modeling") + (description + "Uses both ridge and lasso penalties (and extensions) to penalize +specific parameters in structural equation models. The package offers +additional cost functions, cross validation, and other extensions beyond +traditional structural equation models. Also contains a function to perform +exploratory mediation (XMed).") + (license license:gpl2+))) -- 2.20.1