From c56a2440048575dcf4cfcf15222183ea58df5d48 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 31 Jan 2020 18:27:31 +0100 Subject: gnu: Add r-polycor. * gnu/packages/cran.scm (r-polycor): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 92b48741d1..f024d0598d 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19564,3 +19564,26 @@ for model selection, visualization, and estimation of topic-covariate regressions.") (license license:expat))) +(define-public r-polycor + (package + (name "r-polycor") + (version "0.7-10") + (source + (origin + (method url-fetch) + (uri (cran-uri "polycor" version)) + (sha256 + (base32 + "0wzwzklflbhi8sv9m7ijwr16v9zmkk0j0v4pbcpf32f8lbn3psna")))) + (properties `((upstream-name . "polycor"))) + (build-system r-build-system) + (propagated-inputs + `(("r-matrix" ,r-matrix) + ("r-mvtnorm" ,r-mvtnorm))) + (home-page "https://r-forge.r-project.org/projects/polycor/") + (synopsis "Polychoric and polyserial correlations") + (description + "This package provides tools to compute polychoric and polyserial +correlations by quick \"two-step\" methods or ML, optionally with standard +errors; tetrachoric and biserial correlations are special cases.") + (license license:gpl2+))) -- cgit 1.4.1