[Top][All Lists]

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

06/41: gnu: Add r-splitstackshape.

From: guix-commits
Subject: 06/41: gnu: Add r-splitstackshape.
Date: Wed, 9 Jan 2019 09:44:52 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit adcd0cc87e89ddcdb484493ca100a51fe9e491c0
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 14:23:50 2019 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8f2bd14..aa9a063 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8997,3 +8997,30 @@ against target variable y in Lasso regression, using the 
 strength when each predictor enters the active set of regularization path for
 the first time as the statistic.")
     (license license:gpl3)))
+(define-public r-splitstackshape
+  (package
+    (name "r-splitstackshape")
+    (version "1.4.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "splitstackshape" version))
+       (sha256
+        (base32
+         "03w6h64ga4zqilffdway4l38l5cbman4yrspkzhbigds12aqz25r"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-data-table" ,r-data-table)))
+    (home-page "";)
+    (synopsis "Stack and reshape datasets after splitting concatenated values")
+    (description
+     "Online data collection tools like Google Forms often export
+multiple-response questions with data concatenated in cells.  The
address@hidden (cSplit) family of functions provided by this package
+splits such data into separate cells.  This package also includes functions to
+stack groups of columns and to reshape wide data, even when the data are
+\"unbalanced\"---something which @code{reshape} (from base R) does not handle,
+and which @code{melt} and @code{dcast} from @code{reshape2} do not easily
+    (license license:gpl3)))

reply via email to

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