guix-commits
[Top][All Lists]
Advanced

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

32/60: gnu: Add r-dcurver.


From: guix-commits
Subject: 32/60: gnu: Add r-dcurver.
Date: Tue, 26 Nov 2024 13:02:23 -0500 (EST)

rekado pushed a commit to branch r-team
in repository guix.

commit 3b03eb3f5ad936fb976e145a7356d2b4795abd7e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Nov 26 18:02:35 2024 +0100

    gnu: Add r-dcurver.
    
    * gnu/packages/cran.scm (r-dcurver): New variable.
    
    Change-Id: I8ab58dc4258bb786f00a2a9e7f0a5cdf336ddcb6
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8464500e5f..694653df65 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -37076,6 +37076,32 @@ Analysis and Modelling, including Exploratory 
Spatio-Temporal Analysis and
 Inferred Spatio-Temporal Modelling.")
     (license license:gpl2+)))
 
+(define-public r-dcurver
+  (package
+    (name "r-dcurver")
+    (version "0.9.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "dcurver" version))
+       (sha256
+        (base32 "1v4h480lff1cyjjwb80dksiffh0y4b3s07lq2l2r21rn1l4mav6c"))))
+    (properties `((upstream-name . "dcurver")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-rcpp r-rcpparmadillo))
+    (native-inputs (list r-testthat))
+    (home-page "https://github.com/oguzhanogreden/dcurver";)
+    (synopsis "Utility functions for Davidian curves")
+    (description
+     "This package provides a Davidian curve defines a seminonparametric 
density,
+whose shape and flexibility can be tuned by easy to estimate parameters.  Since
+a special case of a Davidian curve is the standard normal density, Davidian
+curves can be used for relaxing normality assumption in statistical 
applications
+(Zhang & Davidian, 2001) <doi:10.1111/j.0006-341X.2001.00795.x>.  This package
+provides the density function, the gradient of the loglikelihood and a random
+generator for Davidian curves.")
+    (license license:gpl3)))
+
 (define-public r-dcv
   (package
     (name "r-dcv")



reply via email to

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