[Top][All Lists]

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

54/103: gnu: Add r-prediction.

From: Ricardo Wurmus
Subject: 54/103: gnu: Add r-prediction.
Date: Wed, 5 Sep 2018 14:03:49 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit de059e4bd3dce2937a4ac7853731f7f65e950475
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Sep 5 15:12:57 2018 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e26deab..64156f5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4713,6 +4713,30 @@ to help insert or delete content at a specific location 
in the document.")
 parse and convert strings into cases like snake or camel among others.")
     (license license:gpl3)))
+(define-public r-prediction
+  (package
+    (name "r-prediction")
+    (version "0.3.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "prediction" version))
+       (sha256
+        (base32
+         "19d7312f5lkqfglfvlgssnvyw7gl161s0xradcry44r1i6qp05j1"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-data-table" ,r-data-table)))
+    (home-page "";)
+    (synopsis "Tidy, type-safe prediction methods")
+    (description
+     "This package provides the @code{prediction()} function, a type-safe
+alternative to @code{predict()} that always returns a data frame.  The package
+currently supports common model types (e.g., @code{\"lm\"}, @code{\"glm\"})
+from the @code{stats} package, as well as numerous other model classes from
+other add-on packages.")
+    (license license:expat)))
 (define-public r-writexl
     (name "r-writexl")

reply via email to

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