summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2017-03-11 21:39:29 +1000
committerBen Woodcroft <donttrustben@gmail.com>2017-03-12 10:28:06 +1000
commit06085b5bc547a4426b300bdb5d9ea9a032cf1d9c (patch)
tree71a07e6fbe4ee7bf820a2093b335adb737e6add4
parentfe68c8a9906f05de5f9f37a4dac05d35644dbd8a (diff)
gnu: Add r-numderiv.
* gnu/packages/statistics.scm (r-numderiv): New variable. Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
-rw-r--r--gnu/packages/statistics.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 79f7e56f1a..b4d069fff0 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4727,3 +4727,23 @@ distribution function of multivariate normal and \"t\" random variables, and
for generating random vectors sampled from these distributions. Probabilities
are computed via non-Monte Carlo methods.")
(license license:gpl2+)))
+
+(define-public r-numderiv
+ (package
+ (name "r-numderiv")
+ (version "2016.8-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "numDeriv" version))
+ (sha256
+ (base32
+ "07ni52rwiap4wilfz94w5mrqaxr59axxmgn57857ip4p6qkiss0v"))))
+ (properties `((upstream-name . "numDeriv")))
+ (build-system r-build-system)
+ (home-page "https://cran.r-project.org/web/packages/numDeriv")
+ (synopsis "Accurate numerical derivatives")
+ (description
+ "This package provides methods for calculating accurate numerical
+first and second order derivatives.")
+ (license license:gpl2)))