aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-04-20 14:14:41 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-04-26 17:06:17 +0200
commitbae79538528ce20139d18bc3ee68dba405e0a612 (patch)
treef9055993f0fa1bbeb159eb87918f3630025e76de /gnu/packages/statistics.scm
parent94b7e9b7b4d03a5dd42b6514c346062ea0f198a1 (diff)
downloadpatches-bae79538528ce20139d18bc3ee68dba405e0a612.tar
patches-bae79538528ce20139d18bc3ee68dba405e0a612.tar.gz
gnu: Add r-hexbin.
* gnu/packages/statistics.scm (r-hexbin): New variable.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 44553d54e4..8992024729 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2442,6 +2442,29 @@ that reshape did. In particular, built-in methods only work for data frames,
and tidyr provides no margins or aggregation.")
(license license:expat)))
+(define-public r-hexbin
+ (package
+ (name "r-hexbin")
+ (version "1.27.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "hexbin" version))
+ (sha256
+ (base32
+ "0xi6fbf1fvyn2gffr052n3viibqzpr3603sgi4xaminbzja4syjh"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-lattice" ,r-lattice)))
+ (native-inputs
+ `(("gfortran" ,gfortran)))
+ (home-page "http://github.com/edzer/hexbin")
+ (synopsis "Hexagonal binning routines")
+ (description
+ "This package provides binning and plotting functions for hexagonal bins.
+It uses and relies on grid graphics and formal (S4) classes and methods.")
+ (license license:gpl2+)))
+
(define-public r-plotly
(package
(name "r-plotly")