unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57824] [PATCH 1/2] gnu: Add r-spacefillr.
@ 2022-09-15  8:41 Wiktor Żelazny
  2022-09-15  8:45 ` [bug#57824] [PATCH 2/2] gnu: Add r-gldex Wiktor Żelazny
  0 siblings, 1 reply; 3+ messages in thread
From: Wiktor Żelazny @ 2022-09-15  8:41 UTC (permalink / raw)
  To: 57824; +Cc: Wiktor Żelazny

From: Wiktor Żelazny <wzelazny@vurv.cz>

* gnu/packages/cran.scm (r-spacefillr): 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 3d90dc2caa..785df056c6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34410,6 +34410,30 @@ (define-public r-mathjaxr
 for rendering equations in the HTML help files.")
     (license (list license:asl2.0 license:gpl3))))
 
+(define-public r-spacefillr
+  (package
+    (name "r-spacefillr")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "spacefillr" version))
+              (sha256
+               (base32
+                "0c4yasc1zizjmhd2ciyz86lg76fsrxvl19yjkb2fmkda9rmnc0bf"))))
+    (properties `((upstream-name . "spacefillr")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-rcpp))
+    (home-page "https://github.com/tylermorganwall/spacefillr")
+    (synopsis "Space-Filling Random and Quasi-Random Sequences")
+    (description
+     "@code{spacefillr} enables generation of random and quasi-random
+space-filling sequences.  It supports the following sequences: Halton, Sobol,
+Owen-scrambled Sobol, Owen-scrambled Sobol with errors distributed as blue
+noise, progressive jittered, progressive multi-jittered (PMJ), PMJ with blue
+noise, PMJ02, and PMJ02 with blue noise.  The package also includes a C++
+API.")
+    (license license:expat)))
+
 (define-public r-spacetime
   (package
     (name "r-spacetime")

base-commit: 839950c4a9925bf3d7108cb8533be37b185fb8bd
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#57824] [PATCH 2/2] gnu: Add r-gldex.
  2022-09-15  8:41 [bug#57824] [PATCH 1/2] gnu: Add r-spacefillr Wiktor Żelazny
@ 2022-09-15  8:45 ` Wiktor Żelazny
  2022-10-06 14:17   ` bug#57824: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Wiktor Żelazny @ 2022-09-15  8:45 UTC (permalink / raw)
  To: 57824; +Cc: Wiktor Żelazny

From: Wiktor Żelazny <wzelazny@vurv.cz>

* gnu/packages/cran.scm (r-gldex): 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 785df056c6..f806191cf5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21167,6 +21167,33 @@ (define-public r-glasso
 path of values for the regularization parameter.")
     (license license:gpl2)))
 
+(define-public r-gldex
+  (package
+    (name "r-gldex")
+    (version "2.0.0.9")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "GLDEX" version))
+              (sha256
+               (base32
+                "1g0wg6z4ba1n6p2nw3kr734wlgmq0aw1a4spr6xw6djj7idsfi61"))))
+    (properties `((upstream-name . "GLDEX")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-cluster r-spacefillr))
+    (home-page "https://cran.r-project.org/package=GLDEX")
+    (synopsis "Fitting single and mixture of generalised lambda distributions")
+    (description
+     "@code{GLDEX} offers fitting algorithms corresponding to two major
+objectives.  One is to provide a smoothing device to fit distributions to data
+using the weighted and unweighted discretised approach based on the bin width
+of the histogram.  The other is to provide a definitive fit to the data set
+using the maximum likelihood and quantile matching estimation.  Other methods
+such as moment matching, starship method, and L moment matching are also
+provided.  Diagnostics on goodness of fit can be done via qqplots, KS-resample
+tests and comparing mean, variance, skewness and kurtosis of the data with the
+fitted distribution.")
+    (license license:gpl3+)))
+
 (define-public r-rhpcblasctl
   (package
     (name "r-rhpcblasctl")
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#57824: [PATCH 2/2] gnu: Add r-gldex.
  2022-09-15  8:45 ` [bug#57824] [PATCH 2/2] gnu: Add r-gldex Wiktor Żelazny
@ 2022-10-06 14:17   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2022-10-06 14:17 UTC (permalink / raw)
  To: Wiktor Żelazny; +Cc: Wiktor Żelazny, 57824-done

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]


Wiktor Żelazny <wz@freeshell.de> writes:

> From: Wiktor Żelazny <wzelazny@vurv.cz>
>
> * gnu/packages/cran.scm (r-gldex): New variable.
> ---
>  gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)

Thanks, pushed to master as 5b42b64ea89564c58325d16d3d0f4a0a03ebae0f.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-06 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15  8:41 [bug#57824] [PATCH 1/2] gnu: Add r-spacefillr Wiktor Żelazny
2022-09-15  8:45 ` [bug#57824] [PATCH 2/2] gnu: Add r-gldex Wiktor Żelazny
2022-10-06 14:17   ` bug#57824: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).