1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages cran)
20 #:use-module ((guix licenses) #:prefix license:)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix utils)
24 #:use-module (guix build-system r)
25 #:use-module (gnu packages gcc)
26 #:use-module (gnu packages machine-learning)
27 #:use-module (gnu packages maths)
28 #:use-module (gnu packages perl)
29 #:use-module (gnu packages statistics)
30 #:use-module (gnu packages web))
32 (define-public r-colorspace
39 (uri (cran-uri "colorspace" version))
41 (base32 "0d1ya7hx4y58n5ivwmdmq2zgh0g2sbv7ykh13n85c1355csd57yx"))))
42 (build-system r-build-system)
43 (home-page "http://cran.r-project.org/web/packages/colorspace")
44 (synopsis "Color space manipulation")
46 "This package carries out a mapping between assorted color spaces
47 including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar
48 CIELAB. Qualitative, sequential, and diverging color palettes based on HCL
49 colors are provided.")
50 (license license:bsd-3)))
59 (uri (cran-uri "glue" version))
62 "01awmqby7rwzhzr51m7d87wqibx7ggl6xair8fi3z3q1hkyyv7ih"))))
63 (build-system r-build-system)
64 (home-page "https://github.com/tidyverse/glue")
65 (synopsis "Interpreted string literals")
67 "This package provides an implementation of interpreted string literals,
68 inspired by Python's Literal String Interpolation (PEP-0498) and
69 Docstrings (PEP-0257) and Julia's Triple-Quoted String Literals.")
70 (license license:expat)))
72 (define-public r-plogr
79 (uri (cran-uri "plogr" version))
82 "13zliqlbkl8b04k9ga0sx5jsh7k867gracgl84l2a9kcqy9mqx92"))))
83 (build-system r-build-system)
84 (home-page "https://github.com/krlmlr/plogr")
85 (synopsis "R bindings for the plog C++ logging library")
87 "This package provides the header files for a stripped-down version of
88 the plog header-only C++ logging library, and a method to log to R's standard
90 (license license:expat)))
99 (uri (cran-uri "Rcpp" version))
101 (base32 "1bm84yc48475plgsnnbvzi6nzkixpnfw8ry86ax63f9g524asw55"))))
102 (build-system r-build-system)
103 (home-page "http://www.rcpp.org")
104 (synopsis "Seamless R and C++ integration")
106 "The Rcpp package provides R functions as well as C++ classes which offer
107 a seamless integration of R and C++. Many R data types and objects can be
108 mapped back and forth to C++ equivalents which facilitates both writing of new
109 code as well as easier integration of third-party libraries. Documentation
110 about Rcpp is provided by several vignettes included in this package, via the
111 'Rcpp Gallery' site at <http://gallery.rcpp.org>, the paper by Eddelbuettel
112 and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
113 'citation(\"Rcpp\")' for details on these last two.")
114 (license license:gpl2+)))
116 (define-public r-bindr
123 (uri (cran-uri "bindr" version))
126 "0d95ifm0x4mrfzi20xf39f5pzd7rfzqsld0vjqf6xzga5rhnd8fc"))))
127 (build-system r-build-system)
128 (home-page "https://github.com/krlmlr/bindr")
129 (synopsis "Parametrized active bindings")
131 "This package provides a simple interface for creating active bindings
132 where the bound function accepts additional arguments.")
133 (license license:expat)))
135 (define-public r-bindrcpp
142 (uri (cran-uri "bindrcpp" version))
145 "0l1l22zl87wiyl79m3gj2vlxmkhxvrkl4alhyy08h55q7hqs3vyh"))))
146 (build-system r-build-system)
148 `(("r-bindr" ,r-bindr)
151 (home-page "https://github.com/krlmlr/bindrcpp")
152 (synopsis "Rcpp interface to active bindings")
154 "This package provides an easy way to fill an environment with active
155 bindings that call a C++ function.")
156 (license license:expat)))
165 (uri (cran-uri "AUC" version))
168 "0ripcib2qz0m7rgr1kiz68nx8f6p408l1ww7j78ljqik7p3g41g7"))))
169 (properties `((upstream-name . "AUC")))
170 (build-system r-build-system)
171 (home-page "http://cran.r-project.org/web/packages/AUC")
172 (synopsis "Compute the area under the curve of selected measures")
174 "This package includes functions to compute the area under the curve of
175 selected measures: the area under the sensitivity curve (AUSEC), the area
176 under the specificity curve (AUSPC), the area under the accuracy
177 curve (AUACC), and the area under the receiver operating characteristic
178 curve (AUROC). The curves can also be visualized. Support for partial areas
180 (license license:gpl2+)))
182 (define-public r-calibrate
189 (uri (cran-uri "calibrate" version))
192 "010nb1nb9y7zhw2k6d2i2drwy5brp7b83mjj2w7i3wjp9xb6l1kq"))))
193 (build-system r-build-system)
195 `(("r-mass" ,r-mass)))
196 (home-page "http://cran.r-project.org/web/packages/calibrate")
197 (synopsis "Calibration of scatterplot and biplot axes")
199 "This is a package for drawing calibrated scales with tick marks
200 on (non-orthogonal) variable vectors in scatterplots and biplots.")
201 (license license:gpl2)))
203 (define-public r-shape
210 (uri (cran-uri "shape" version))
213 "1v9xp60p813rnx41vchkh32qmcb4z2zp9l7r1a8a6f8aqylnq3vj"))))
214 (build-system r-build-system)
215 (home-page "http://cran.r-project.org/web/packages/shape")
216 (synopsis "Functions for plotting graphical shapes")
218 "This package provides functions for plotting graphical shapes such as
219 ellipses, circles, cylinders, arrows, ...")
220 (license license:gpl3+)))
222 (define-public r-globaloptions
224 (name "r-globaloptions")
229 (uri (cran-uri "GlobalOptions" version))
232 "1abpc03cfvazbwj2sx6qgngs5pgpzysvxkana20hyvb4n7ws77f0"))))
233 (properties `((upstream-name . "GlobalOptions")))
234 (build-system r-build-system)
235 (home-page "https://github.com/jokergoo/GlobalOptions")
236 (synopsis "Generate functions to get or set global options")
238 "This package provides more controls on the option values such as
239 validation and filtering on the values, making options invisible or private.")
240 (license license:gpl2+)))
242 (define-public r-circlize
249 (uri (cran-uri "circlize" version))
252 "1w7i3jgxgq510axglzmw54ma9kq7k4c86i9ccndz10mrwc51fji0"))))
253 (build-system r-build-system)
255 `(("r-colorspace" ,r-colorspace)
256 ("r-globaloptions" ,r-globaloptions)
257 ("r-shape" ,r-shape)))
258 (home-page "https://github.com/jokergoo/circlize")
259 (synopsis "Circular visualization")
261 "Circular layout is an efficient way for the visualization of huge
262 amounts of information. This package provides an implementation of circular
263 layout generation in R as well as an enhancement of available software. The
264 flexibility of the package is based on the usage of low-level graphics
265 functions such that self-defined high-level graphics can be easily implemented
266 by users for specific purposes. Together with the seamless connection between
267 the powerful computational and visual environment in R, it gives users more
268 convenience and freedom to design figures for better understanding complex
269 patterns behind multiple dimensional data.")
270 (license license:gpl2+)))
272 (define-public r-powerlaw
279 (uri (cran-uri "poweRlaw" version))
282 "04sr0nhdd1v915m0zf5gasznzgi08ykcy20kkwdw0l5mvvdbic8m"))))
283 (properties `((upstream-name . "poweRlaw")))
284 (build-system r-build-system)
286 `(("r-vgam" ,r-vgam)))
287 (home-page "https://github.com/csgillespie/poweRlaw")
288 (synopsis "Tools for the analysis of heavy tailed distributions")
290 "This package provides an implementation of maximum likelihood estimators
291 for a variety of heavy tailed distributions, including both the discrete and
292 continuous power law distributions. Additionally, a goodness-of-fit based
293 approach is used to estimate the lower cut-off for the scaling region.")
294 ;; Any of these GPL versions.
295 (license (list license:gpl2 license:gpl3))))
297 (define-public r-compare
304 (uri (cran-uri "compare" version))
307 "0k9zms930b5dz9gy8414li21wy0zg9x9vp7301v5cvyfi0g7xzgw"))))
308 (build-system r-build-system)
309 (home-page "http://cran.r-project.org/web/packages/compare")
310 (synopsis "Comparing objects for differences")
312 "This package provides functions to compare a model object to a
313 comparison object. If the objects are not identical, the functions can be
314 instructed to explore various modifications of the objects (e.g., sorting
315 rows, dropping names) to see if the modified versions are identical.")
316 (license license:gpl2+)))
318 (define-public r-dendextend
320 (name "r-dendextend")
325 (uri (cran-uri "dendextend" version))
328 "04jz58apibfrkjcrdmw2hmsav6qpb5cs6qdai81k1v1iznfcya42"))))
329 (build-system r-build-system)
332 ("r-ggplot2" ,r-ggplot2)
333 ("r-magrittr" ,r-magrittr)
334 ("r-viridis" ,r-viridis)
335 ("r-whisker" ,r-whisker)))
336 (home-page "https://cran.r-project.org/web/packages/dendextend")
337 (synopsis "Extending 'dendrogram' functionality in R")
339 "This package offers a set of functions for extending @code{dendrogram}
340 objects in R, letting you visualize and compare trees of hierarchical
341 clusterings. You can adjust a tree's graphical parameters (the color, size,
342 type, etc of its branches, nodes and labels) and visually and statistically
343 compare different dendrograms to one another.")
344 ;; Any of these versions
345 (license (list license:gpl2 license:gpl3))))
347 (define-public r-getoptlong
349 (name "r-getoptlong")
354 (uri (cran-uri "GetoptLong" version))
357 "1d98gcvlvp9nz5lbnzr0kkpc2hbkx74hlhrnybqhg1gdwc3g09pm"))))
358 (properties `((upstream-name . "GetoptLong")))
359 (build-system r-build-system)
363 `(("r-globaloptions" ,r-globaloptions)
364 ("r-rjson" ,r-rjson)))
365 (home-page "https://github.com/jokergoo/GetoptLong")
366 (synopsis "Parsing command-line arguments and variable interpolation")
368 "This is yet another command-line argument parser which wraps the
369 powerful Perl module @code{Getopt::Long} and with some adaptation for easier
370 use in R. It also provides a simple way for variable interpolation in R.")
371 (license license:gpl2+)))
373 (define-public r-fastmatch
380 (uri (cran-uri "fastmatch" version))
383 "0z80jxkygmzn11sq0c2iz357s9bpki548lg926g85gldhfj1md90"))))
384 (build-system r-build-system)
385 (home-page "http://www.rforge.net/fastmatch")
386 (synopsis "Fast match function")
388 "This package provides a fast @code{match} replacement for cases that
389 require repeated look-ups. It is slightly faster that R's built-in
390 @code{match} function on first match against a table, but extremely fast on
391 any subsequent lookup as it keeps the hash table in memory.")
392 (license license:gpl2)))
401 (uri (cran-uri "ff" version))
404 "1nvd6kx46xzyc99a44mgynd94pvd2h495m5a7b1g67k5w2phiywb"))))
405 (build-system r-build-system)
406 (propagated-inputs `(("r-bit" ,r-bit)))
407 (home-page "http://ff.r-forge.r-project.org/")
408 (synopsis "Memory-efficient storage of large data on disk and access functions")
410 "This package provides data structures that are stored on disk but
411 behave (almost) as if they were in RAM by transparently mapping only a section
413 ;; error Architecture not supported.
414 (supported-systems (delete "aarch64-linux" %supported-systems))
415 (license license:gpl2)))
417 (define-public r-ffbase
424 (uri (cran-uri "ffbase" version))
427 "1nz97bndxxkzp8rq6va8ff5ky9vkaib1jybm6j852awwb3n9had5"))))
428 (build-system r-build-system)
431 ("r-fastmatch" ,r-fastmatch)
433 (home-page "http://github.com/edwindj/ffbase")
434 (synopsis "Basic statistical functions for package 'ff'")
436 "This package extends the out of memory vectors of @code{ff} with
437 statistical functions and other utilities to ease their usage.")
438 (license license:gpl3)))
440 (define-public r-prettyunits
442 (name "r-prettyunits")
447 (uri (cran-uri "prettyunits" version))
450 "0p3z42hnk53x7ky4d1dr2brf7p8gv3agxr71i99m01n2hq2ri91m"))))
451 (build-system r-build-system)
453 `(("r-assertthat" ,r-assertthat)
454 ("r-magrittr" ,r-magrittr)))
455 (home-page "https://github.com/gaborcsardi/prettyunits")
456 (synopsis "Pretty, human readable formatting of quantities")
458 "This package provides tools for pretty, human readable formatting of
460 (license license:expat)))
462 (define-public r-reshape
469 (uri (cran-uri "reshape" version))
472 "14ir3w4bb3bsz8jsak27nj7kpn227pdgr9653gjq5wc93rywi9ig"))))
473 (build-system r-build-system)
477 (home-page "http://had.co.nz/reshape")
478 (synopsis "Flexibly reshape data")
480 "Flexibly restructure and aggregate data using just two functions:
481 @code{melt} and @code{cast}. This package provides them.")
482 (license license:expat)))
484 (define-public r-progress
491 (uri (cran-uri "progress" version))
494 "1fxakchfjr5vj59s9sxynd7crpz97xj42438rmkhkf3rjpyspx59"))))
495 (build-system r-build-system)
497 `(("r-prettyunits" ,r-prettyunits)
499 (home-page "https://github.com/gaborcsardi/progress")
500 (synopsis "Terminal progress bars")
502 "This package provides configurable progress bars. They may include
503 percentage, elapsed time, and/or the estimated completion time. They work in
504 terminals, in Emacs ESS, RStudio, Windows Rgui, and the macOS R.app. The
505 package also provides a C++ API, that works with or without Rcpp.")
506 (license license:expat)))
508 (define-public r-ggally
515 (uri (cran-uri "GGally" version))
518 "02px7j28wzbhcgcwm2m0pxb6g7s5zvphl64ix55pkvag4m2ky57l"))))
519 (properties `((upstream-name . "GGally")))
520 (build-system r-build-system)
522 `(("r-ggplot2" ,r-ggplot2)
523 ("r-gtable" ,r-gtable)
525 ("r-progress" ,r-progress)
526 ("r-rcolorbrewer" ,r-rcolorbrewer)
527 ("r-reshape" ,r-reshape)))
528 (home-page "https://ggobi.github.io/ggally")
529 (synopsis "Extension to ggplot2")
531 "The R package ggplot2 is a plotting system based on the grammar of
532 graphics. GGally extends ggplot2 by adding several functions to reduce the
533 complexity of combining geometric objects with transformed data. Some of
534 these functions include a pairwise plot matrix, a two group pairwise plot
535 matrix, a parallel coordinates plot, a survival plot, and several functions to
537 (license license:gpl2+)))
539 (define-public r-proxy
546 (uri (cran-uri "proxy" version))
549 "0bg1fn96qrj8whmnl7c3gv244ksm2ykxxsd0zrmw4lb6465pizl2"))))
550 (build-system r-build-system)
551 (home-page "http://cran.r-project.org/web/packages/proxy")
552 (synopsis "Distance and similarity measures")
554 "This package provides an extensible framework for the efficient
555 calculation of auto- and cross-proximities, along with implementations of the
557 (license license:gpl2)))
566 (uri (cran-uri "sp" version))
569 "09yydnacp33yx0kn537k96fjlbf75fjafqfknpa5gvci4l888bqd"))))
570 (build-system r-build-system)
572 `(("r-lattice" ,r-lattice)))
573 (home-page "http://cran.r-project.org/web/packages/sp")
574 (synopsis "Classes and methods for spatial data")
576 "This package provides classes and methods for spatial data; the classes
577 document where the spatial location information resides, for 2D or 3D data.
578 Utility functions are provided, e.g. for plotting data as maps, spatial
579 selection, as well as methods for retrieving coordinates, for subsetting,
580 print, summary, etc.")
581 (license license:gpl2+)))
583 (define-public r-rmtstat
590 (uri (cran-uri "RMTstat" version))
593 "1nn25q4kmh9kj975sxkrpa97vh5irqrlqhwsfinbck6h6ia4rsw1"))))
594 (properties `((upstream-name . "RMTstat")))
595 (build-system r-build-system)
596 (home-page "http://cran.r-project.org/web/packages/RMTstat")
597 (synopsis "Distributions, statistics and tests derived from random matrix theory")
599 "This package provides functions for working with the Tracy-Widom laws
600 and other distributions related to the eigenvalues of large Wishart
602 (license license:bsd-3)))
604 (define-public r-lmoments
611 (uri (cran-uri "Lmoments" version))
614 "13p0r4w16jvjnyjmkhkp3dwdfr1gap2l0k4k5jy41m8nc5fvcx79"))))
615 (properties `((upstream-name . "Lmoments")))
616 (build-system r-build-system)
617 (home-page "http://www.tilastotiede.fi/juha_karvanen.html")
618 (synopsis "L-moments and quantile mixtures")
620 "This package contains functions to estimate L-moments and trimmed
621 L-moments from the data. It also contains functions to estimate the
622 parameters of the normal polynomial quantile mixture and the Cauchy polynomial
623 quantile mixture from L-moments and trimmed L-moments.")
624 (license license:gpl2)))
626 (define-public r-distillery
628 (name "r-distillery")
633 (uri (cran-uri "distillery" version))
636 "1m0pgmlvk7bsb6q3kxagnq422babk61sf73naavac68v8x2q8fix"))))
637 (build-system r-build-system)
638 (home-page "http://www.ral.ucar.edu/staff/ericg")
639 (synopsis "Functions for confidence intervals and object information")
641 "This package provides some very simple method functions for confidence
642 interval calculation and to distill pertinent information from a potentially
643 complex object; primarily used in common with the packages extRemes and
645 (license license:gpl2+)))
647 (define-public r-extremes
654 (uri (cran-uri "extRemes" version))
657 "0pnpib3g2r9x8hfqhvq23j8m3jh62lp28ipnqir5yadnzv850gfm"))))
658 (properties `((upstream-name . "extRemes")))
659 (build-system r-build-system)
662 ("r-distillery" ,r-distillery)
663 ("r-lmoments" ,r-lmoments)))
664 (home-page "http://www.assessment.ucar.edu/toolkit/")
665 (synopsis "Extreme value analysis")
667 "ExtRemes is a suite of functions for carrying out analyses on the
668 extreme values of a process of interest; be they block maxima over long blocks
669 or excesses over a high threshold.")
670 (license license:gpl2+)))
672 (define-public r-lmtest
679 (uri (cran-uri "lmtest" version))
682 "107br1l7p52wxvazs031f4h5ryply97qywg9dzrkw4ydnvqq4j9g"))))
683 (build-system r-build-system)
687 `(("gfortran" ,gfortran)))
688 (home-page "http://cran.r-project.org/web/packages/lmtest")
689 (synopsis "Testing linear regression models")
691 "This package provides a collection of tests, data sets, and examples for
692 diagnostic checking in linear regression models. Furthermore, some generic
693 tools for inference in parametric models are provided.")
694 ;; Either version is okay
695 (license (list license:gpl2 license:gpl3))))
697 (define-public r-inline
703 (uri (cran-uri "inline" version))
706 "0cf9vya9h4znwgp6s1nayqqmh6mwyw7jl0isk1nx4j2ijszxcd7x"))))
707 (build-system r-build-system)
708 (home-page "http://cran.r-project.org/web/packages/inline")
709 (synopsis "Functions to inline C, C++, Fortran function calls from R")
711 "This package provides functionality to dynamically define R functions
712 and S4 methods with inlined C, C++ or Fortran code supporting @code{.C} and
713 @code{.Call} calling conventions.")
714 ;; Any version of the LGPL.
715 (license license:lgpl3+)))
717 (define-public r-bbmle
724 (uri (cran-uri "bbmle" version))
727 "014h6mw16gv4acs2p78dy7lla7s428n633aybsb1mbi6250dg0p8"))))
728 (build-system r-build-system)
730 `(("r-lattice" ,r-lattice)
732 ("r-numderiv" ,r-numderiv)))
733 (home-page "http://cran.r-project.org/web/packages/bbmle")
734 (synopsis "Tools for General Maximum Likelihood Estimation")
736 "Methods and functions for fitting maximum likelihood models in R. This
737 package modifies and extends the @code{mle} classes in the @code{stats4}
739 ;; Any version of the GPL
740 (license (list license:gpl2 license:gpl3))))
742 (define-public r-emdbook
749 (uri (cran-uri "emdbook" version))
752 "09xbdyw8a4pvrsg3ryr8drby0njy4avc5wsjj4ffibdaicpchy69"))))
753 (build-system r-build-system)
755 `(("r-bbmle" ,r-bbmle)
757 ("r-lattice" ,r-lattice)
761 (home-page "http://www.math.mcmaster.ca/bolker/emdbook")
762 (synopsis "Support functions and data for \"Ecological Models and Data\"")
764 "This package provides auxiliary functions and data sets for \"Ecological
765 Models and Data\", a book presenting maximum likelihood estimation and related
766 topics for ecologists (ISBN 978-0-691-12522-0).")
768 (license (list license:gpl2 license:gpl3))))
770 (define-public r-lpsolve
777 (uri (cran-uri "lpSolve" version))
780 "13a9ry8xf5j1f2j6imqrxdgxqz3nqp9sj9b4ivyx9sid459irm6m"))))
781 (properties `((upstream-name . "lpSolve")))
782 (build-system r-build-system)
783 (home-page "http://cran.r-project.org/web/packages/lpSolve")
784 (synopsis "R interface to Lp_solve to solve linear/integer programs")
786 "Lp_solve is software for solving linear, integer and mixed integer
787 programs. This implementation supplies a \"wrapper\" function in C and some R
788 functions that solve general linear/integer problems, assignment problems, and
789 transportation problems.")
790 (license license:lgpl2.0)))
792 (define-public r-limsolve
799 (uri (cran-uri "limSolve" version))
802 "1ll6ir42h3g2fzf0wqai213bm82gpwjj2hfma2np3mz024sc09rg"))))
803 (properties `((upstream-name . "limSolve")))
804 (build-system r-build-system)
806 `(("r-lpsolve" ,r-lpsolve)
808 ("r-quadprog" ,r-quadprog)))
809 (native-inputs `(("gfortran" ,gfortran)))
810 (home-page "http://cran.r-project.org/web/packages/limSolve")
811 (synopsis "Solving linear inverse models")
813 "This package provides functions that:
816 @item find the minimum/maximum of a linear or quadratic function,
817 @item sample an underdetermined or overdetermined system,
818 @item solve a linear system Ax=B for the unknown x.
821 It includes banded and tridiagonal linear systems. The package calls Fortran
822 functions from LINPACK.")
824 (license (list license:gpl2+ license:gpl3+))))
826 (define-public r-fitdistrplus
828 (name "r-fitdistrplus")
833 (uri (cran-uri "fitdistrplus" version))
836 "18x9454g598d54763k3hvi33iszifk7sxvhd1zg5r8z1vpixx3z6"))))
837 (build-system r-build-system)
840 ("r-survival" ,r-survival)))
841 (home-page "http://riskassessment.r-forge.r-project.org")
842 (synopsis "Fitting a parametric distribution from data")
844 "This package extends the @code{fitdistr} function of the MASS package
845 with several functions to help the fit of a parametric distribution to
846 non-censored or censored data. Censored data may contain left-censored,
847 right-censored and interval-censored values, with several lower and upper
848 bounds. In addition to @dfn{maximum likelihood estimation} (MLE), the package
849 provides moment matching (MME), quantile matching (QME) and maximum
850 goodness-of-fit estimation (MGE) methods (available only for non-censored
851 data). Weighted versions of MLE, MME and QME are available.")
852 (license license:gpl2+)))
854 (define-public r-energy
861 (uri (cran-uri "energy" version))
864 "19c7bgjnm4ggf7w5mk64c5shkma3sa9wc8x117iqv7pk1bvvyy3p"))))
865 (build-system r-build-system)
869 (home-page "http://cran.r-project.org/web/packages/energy")
870 (synopsis "Multivariate inference via the energy of data")
872 "This package provides e-statistics (energy) tests and statistics for
873 multivariate and univariate inference, including distance correlation,
874 one-sample, two-sample, and multi-sample tests for comparing multivariate
875 distributions, are implemented. Measuring and testing multivariate
876 independence based on distance correlation, partial distance correlation,
877 multivariate goodness-of-fit tests, clustering based on energy distance,
878 testing for multivariate normality, distance components (disco) for
879 non-parametric analysis of structured data, and other energy
880 statistics/methods are implemented.")
881 (license license:gpl2+)))
883 (define-public r-suppdists
890 (uri (cran-uri "SuppDists" version))
893 "1ffx8wigqqvz2pnh06jjc0fnf4vq9z2rhwk2y3f9aszn18ap3dgw"))))
894 (properties `((upstream-name . "SuppDists")))
895 (build-system r-build-system)
896 (home-page "http://cran.r-project.org/web/packages/SuppDists")
897 (synopsis "Supplementary distributions")
899 "This package provides ten distributions supplementing those built into
900 R. Inverse Gauss, Kruskal-Wallis, Kendall's Tau, Friedman's chi squared,
901 Spearman's rho, maximum F ratio, the Pearson product moment correlation
902 coefficient, Johnson distributions, normal scores and generalized
903 hypergeometric distributions. In addition two random number generators of
904 George Marsaglia are included.")
905 (license license:gpl2+)))
907 (define-public r-ksamples
914 (uri (cran-uri "kSamples" version))
917 "0f19rjngk0lg6s8c6h5l55qpxp8sl4vxj3kpi05cizzncny9b9bj"))))
918 (properties `((upstream-name . "kSamples")))
919 (build-system r-build-system)
921 `(("r-suppdists" ,r-suppdists)))
922 (home-page "http://cran.r-project.org/web/packages/kSamples")
923 (synopsis "K-Sample rank tests and their combinations")
925 "This package provides tools to compares k samples using the
926 Anderson-Darling test, Kruskal-Wallis type tests with different rank score
927 criteria, Steel's multiple comparison test, and the Jonckheere-Terpstra (JT)
928 test. It computes asymptotic, simulated or (limited) exact P-values, all
929 valid under randomization, with or without ties, or conditionally under random
930 sampling from populations, given the observed tie pattern. Except for Steel's
931 test and the JT test it also combines these tests across several blocks of
933 (license license:gpl2+)))
935 (define-public r-cvst
942 (uri (cran-uri "CVST" version))
945 "17xacyi8cf37rr2xswx96qy7pwkaqq394awdlswykz3qlyzx4zx2"))))
946 (properties `((upstream-name . "CVST")))
947 (build-system r-build-system)
949 `(("r-kernlab" ,r-kernlab)
950 ("r-matrix" ,r-matrix)))
951 (home-page "http://cran.r-project.org/web/packages/CVST")
952 (synopsis "Fast cross-validation via sequential testing")
954 "This package implements the fast cross-validation via sequential
955 testing (CVST) procedure. CVST is an improved cross-validation procedure
956 which uses non-parametric testing coupled with sequential analysis to
957 determine the best parameter set on linearly increasing subsets of the data.
958 Additionally to the CVST the package contains an implementation of the
959 ordinary k-fold cross-validation with a flexible and powerful set of helper
960 objects and methods to handle the overall model selection process. The
961 implementations of the Cochran's Q test with permutations and the sequential
962 testing framework of Wald are generic and can therefore also be used in other
964 (license license:gpl2+)))
966 (define-public r-lava
973 (uri (cran-uri "lava" version))
976 "1vcm04h9i39gmf2prl5d4j4il4gs6skzr6y2fvl1vn4hklna87f4"))))
977 (build-system r-build-system)
979 `(("r-numderiv" ,r-numderiv)
980 ("r-survival" ,r-survival)))
981 (home-page "https://github.com/kkholst/lava")
982 (synopsis "Latent variable models")
984 "This package provides tools for the estimation and simulation of latent
986 (license license:gpl3)))
995 (uri (cran-uri "DRR" version))
998 "1scfwp6ry6apxzqjclsmn2frxp9qfw6zxsxn5w0j0q3sz42hz1h2"))))
999 (properties `((upstream-name . "DRR")))
1000 (build-system r-build-system)
1002 `(("r-cvst" ,r-cvst)
1003 ("r-kernlab" ,r-kernlab)
1004 ("r-matrix" ,r-matrix)))
1005 (home-page "http://cran.r-project.org/web/packages/DRR")
1006 (synopsis "Dimensionality reduction via regression")
1008 "This package provides an implementation of dimensionality reduction via
1009 regression using Kernel Ridge Regression.")
1010 (license license:gpl3)))
1012 (define-public r-prodlim
1019 (uri (cran-uri "prodlim" version))
1022 "0m51rkivx1zr6whdqwj66jpnkmp4385m06kkha3dp8qqf4jna9iz"))))
1023 (build-system r-build-system)
1025 `(("r-kernsmooth" ,r-kernsmooth)
1028 ("r-survival" ,r-survival)))
1029 (home-page "http://cran.r-project.org/web/packages/prodlim")
1030 (synopsis "Product-limit estimation for censored event history analysis")
1032 "This package provides a fast and user-friendly implementation of
1033 nonparametric estimators for censored event history (survival) analysis with
1034 the Kaplan-Meier and Aalen-Johansen methods.")
1035 (license license:gpl2+)))
1037 (define-public r-dimred
1044 (uri (cran-uri "dimRed" version))
1047 "0fasca5fsbrxdwv30hch7vb9snb844l7l8p5fjf239dq45xfy37v"))))
1048 (properties `((upstream-name . "dimRed")))
1049 (build-system r-build-system)
1050 (propagated-inputs `(("r-drr" ,r-drr)))
1051 (home-page "https://github.com/gdkrmr/dimRed")
1052 (synopsis "Framework for dimensionality reduction")
1054 "This package provides a collection of dimensionality reduction
1055 techniques from R packages and provides a common interface for calling the
1057 (license license:gpl3)))
1059 (define-public r-timedate
1062 (version "3012.100")
1066 (uri (cran-uri "timeDate" version))
1069 "0cn4h23y2y2bbg62qgm79xx4cvfla5xbpmi9hbdvkvpmm5yfyqk2"))))
1070 (properties `((upstream-name . "timeDate")))
1071 (build-system r-build-system)
1072 (home-page "https://www.rmetrics.org")
1073 (synopsis "Chronological and calendar objects")
1075 "This package provides an environment for teaching \"Financial
1076 Engineering and Computational Finance\" and for managing chronological and
1078 (license license:gpl2+)))
1080 (define-public r-ddalpha
1087 (uri (cran-uri "ddalpha" version))
1090 "0pczw9543y7f92m7gyk7rxcjn8vsjaldc5vl0r56ywip9i374zbh"))))
1091 (build-system r-build-system)
1094 ("r-class" ,r-class)
1097 ("r-robustbase" ,r-robustbase)
1098 ("r-sfsmisc" ,r-sfsmisc)))
1100 `(("gfortran" ,gfortran)))
1101 (home-page "http://cran.r-project.org/web/packages/ddalpha")
1102 (synopsis "Depth-Based classification and calculation of data depth")
1104 "This package contains procedures for depth-based supervised learning,
1105 which are entirely non-parametric, in particular the DDalpha-procedure (Lange,
1106 Mosler and Mozharovskyi, 2014). The training data sample is transformed by a
1107 statistical depth function to a compact low-dimensional space, where the final
1108 classification is done. It also offers an extension to functional data and
1109 routines for calculating certain notions of statistical depth functions. 50
1110 multivariate and 5 functional classification problems are included.")
1111 (license license:gpl2)))
1113 (define-public r-gower
1120 (uri (cran-uri "gower" version))
1123 "1mbrj1lam3jfbby2j32shmmj5cn09zx3rkxbamq7q8sdg39b54gb"))))
1124 (build-system r-build-system)
1126 `(("r-knitr" ,r-knitr)))
1127 (home-page "https://github.com/markvanderloo/gower")
1128 (synopsis "Gower's distance")
1130 "This package provides tools to compute Gower's distance (or similarity)
1131 coefficient between records, and to compute the top-n matches between records.
1132 Core algorithms are executed in parallel on systems supporting OpenMP.")
1133 (license license:gpl3)))
1135 (define-public r-rcpproll
1142 (uri (cran-uri "RcppRoll" version))
1145 "19xzvxym8zbighndygkq4imfwc0abh4hqyq3qrr8aakyd096iisi"))))
1146 (properties `((upstream-name . "RcppRoll")))
1147 (build-system r-build-system)
1149 `(("r-rcpp" ,r-rcpp)))
1150 (home-page "http://cran.r-project.org/web/packages/RcppRoll")
1151 (synopsis "Efficient rolling and windowed operations")
1153 "This package provides fast and efficient routines for common rolling /
1154 windowed operations. Routines for the efficient computation of windowed mean,
1155 median, sum, product, minimum, maximum, standard deviation and variance are
1157 (license license:gpl2+)))
1159 (define-public r-ipred
1166 (uri (cran-uri "ipred" version))
1169 "1vrw1pqcpnc04x1r2h9grdfm6bivs358sww5gg90jwlvxcw69lxq"))))
1170 (build-system r-build-system)
1172 `(("r-class" ,r-class)
1175 ("r-prodlim" ,r-prodlim)
1176 ("r-rpart" ,r-rpart)
1177 ("r-survival" ,r-survival)))
1178 (home-page "http://cran.r-project.org/web/packages/ipred")
1179 (synopsis "Improved predictors")
1181 "This package provides improved predictive models by indirect
1182 classification and bagging for classification, regression and survival
1183 problems as well as resampling based estimators of prediction error.")
1184 (license license:gpl2+)))
1186 (define-public r-recipes
1193 (uri (cran-uri "recipes" version))
1196 "0rydk403qihxmcv3zz323r3ywk4g1v7ibvj452rxhm0z22sqk9kb"))))
1197 (build-system r-build-system)
1199 `(("r-ddalpha" ,r-ddalpha)
1200 ("r-dimred" ,r-dimred)
1201 ("r-dplyr" ,r-dplyr)
1202 ("r-gower" ,r-gower)
1203 ("r-ipred" ,r-ipred)
1204 ("r-lubridate" ,r-lubridate)
1205 ("r-magrittr" ,r-magrittr)
1206 ("r-purrr" ,r-purrr)
1207 ("r-rcpproll" ,r-rcpproll)
1208 ("r-rlang" ,r-rlang)
1209 ("r-tibble" ,r-tibble)
1210 ("r-tidyselect" ,r-tidyselect)
1211 ("r-timedate" ,r-timedate)))
1212 (home-page "https://github.com/topepo/recipes")
1213 (synopsis "Preprocessing tools to create design matrices")
1215 "Recipes is an extensible framework to create and preprocess design
1216 matrices. Recipes consist of one or more data manipulation and analysis
1217 \"steps\". Statistical parameters for the steps can be estimated from an
1218 initial data set and then applied to other data sets. The resulting design
1219 matrices can then be used as inputs into statistical or machine learning
1221 (license license:gpl2)))
1223 (define-public r-pdist
1230 (uri (cran-uri "pdist" version))
1233 "18nd3mgad11f2zmwcp0w3sxlch4a9y6wp8dfdyzvjn7y4b4bq0dd"))))
1234 (build-system r-build-system)
1235 (home-page "https://github.com/jeffwong/pdist")
1236 (synopsis "Partitioned distance function")
1238 "Pdist computes the euclidean distance between rows of a matrix X and
1239 rows of another matrix Y. Previously, this could be done by binding the two
1240 matrices together and calling @code{dist}, but this creates unnecessary
1241 computation by computing the distances between a row of X and another row of
1242 X, and likewise for Y. Pdist strictly computes distances across the two
1243 matrices, not within the same matrix, making computations significantly faster
1244 for certain use cases.")
1245 (license license:gpl3+)))
1247 (define-public r-ggrepel
1254 (uri (cran-uri "ggrepel" version))
1257 "0g0qfm6g71rv27423c1x846ipilnj213knyzrcr09vrpxc87l618"))))
1258 (build-system r-build-system)
1260 `(("r-ggplot2" ,r-ggplot2)
1262 ("r-scales" ,r-scales)))
1263 (home-page "http://github.com/slowkow/ggrepel")
1264 (synopsis "Repulsive text and label geometries for ggplot2")
1266 "This package provides text and label geometries for ggplot2 that help to
1267 avoid overlapping text labels. Labels repel away from each other and away
1268 from the data points.")
1269 (license license:gpl3)))
1271 (define-public r-corrplot
1278 (uri (cran-uri "corrplot" version))
1281 "1k03qd8db7pwg1v318xapx5mpiypiz2n07qr19c4b45diri5xkhd"))))
1282 (build-system r-build-system)
1283 (home-page "https://github.com/taiyun/corrplot")
1284 (synopsis "Visualization of a correlation matrix")
1286 "This package provides a graphical display of a correlation matrix or
1287 general matrix. It also contains some algorithms to do matrix reordering. In
1288 addition, corrplot is good at details, including choosing color, text labels,
1289 color labels, layout, etc.")
1290 ;; Any version of the GPL
1291 (license license:gpl2+)))