diff options
author | Lars-Dominik Braun <ldb@leibniz-psychology.org> | 2020-02-04 14:08:09 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-02-22 20:42:12 +0100 |
commit | 8b217feb3b242484de1917a1c19402281eb95cf7 (patch) | |
tree | 0765b53add9305252dd5e8866598a765a8fe9749 /gnu | |
parent | 27d9764d063b0f607fe7635366eedea166f7fda7 (diff) |
gnu: Add r-regsem.
* gnu/packages/cran.scm (r-regsem): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cran.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 67546a513c..b69311a39b 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+))) |