aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-11-19 09:33:34 +0100
committerLars-Dominik Braun <lars@6xq.net>2021-11-19 10:04:59 +0100
commit6750e5a6e09255490b13d65a7274c0aff304e55d (patch)
tree15f062d015b7c2f88fe694a108ca47868e5ed85b /gnu
parent59a22fcc917765f18a386b54f7f9fed106e42f3b (diff)
downloadguix-6750e5a6e09255490b13d65a7274c0aff304e55d.tar.gz
guix-6750e5a6e09255490b13d65a7274c0aff304e55d.zip
gnu: Add r-lmom.
* gnu/packages/statistics.scm (r-lmom): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 50e014ee8d..2a534b92b7 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6699,3 +6699,25 @@ original Datasaurus is detailed in \"Same Stats, Different Graphs: Generating
Datasets with Varied Appearance and Identical Statistics through Simulated
Annealing\" @url{doi:10.1145/3025453.3025912}.")
(license license:expat)))
+
+(define-public r-lmom
+ (package
+ (name "r-lmom")
+ (version "2.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lmom" version))
+ (sha256
+ (base32 "1lnj41gynaar5isyijg5nbll64qdxa12dnqvz7lxhaclqcjskqna"))))
+ (properties `((upstream-name . "lmom")))
+ (build-system r-build-system)
+ (native-inputs `(("gfortran" ,gfortran)))
+ (home-page "https://cran.r-project.org/package=lmom")
+ (synopsis "L-Moments for R")
+ (description
+ "This package provides functions related to L-moments: computation
+of L-moments and trimmed L-moments of distributions and data samples;
+parameter estimation; L-moment ratio diagram; plot vs. quantiles of an
+extreme-value distribution.")
+ (license license:cpl1.0)))