guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19/53: gnu: Add r-regsem.


From: guix-commits
Subject: 19/53: gnu: Add r-regsem.
Date: Sat, 22 Feb 2020 14:46:11 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 8b217feb3b242484de1917a1c19402281eb95cf7
Author: Lars-Dominik Braun <address@hidden>
AuthorDate: Tue Feb 4 14:08:09 2020 +0100

    gnu: Add r-regsem.
    
    * gnu/packages/cran.scm (r-regsem): New variable.
---
 gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 67546a5..b69311a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19738,3 +19738,31 @@ 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
+     "This package 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.  It also contains a function to
+perform @dfn{exploratory mediation} (XMed).")
+    (license license:gpl2+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]