numDeriv: Accurate Numerical Derivatives

This package provide methods for calculating (usually) accurate numerical first and second order derivatives. Accurate calculations are done using Richardson's extrapolation or, when applicable, a complex step derivative is available. A simple difference method is also provided. Simple difference is (usually) less accurate but is much quicker than Richardson's extrapolation and provides a useful cross-check. Methods are provided for real scalar and vector valued functions.

Version: 2012.9-1
Depends: R (≥ 1.8.1)
Published: 2012-10-14
Author: Paul Gilbert and Ravi Varadhan
Maintainer: Paul Gilbert <pgilbert.ttv9z at>
License: GPL-2
Copyright: 2006-2011, Bank of Canada. 2012, Paul Gilbert
URL: http:
NeedsCompilation: no
Materials: NEWS
In views: NumericalMathematics
CRAN checks: numDeriv results


Reference manual: numDeriv.pdf
Vignettes: numDeriv Guide
Package source: numDeriv_2012.9-1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: numDeriv_2012.9-1.tgz, r-oldrel: numDeriv_2012.9-1.tgz
OS X Mavericks binaries: r-release: numDeriv_2012.9-1.tgz
Old sources: numDeriv archive

Reverse dependencies:

Reverse depends: alabama, B2Z, bnormnlr, catIrt, CBPS, CompLognormal, compound.Cox, copCAR, dhglm, DOBAD, fdasrvf, fgof, frailtyHL, ghyp, HPbayes, lbfgsb3, lmeNB, ltbayes, mederrRank, mgpd, mipfp, mvglmmRank, mvSLOUCH, optextras, PSM, QRM, RCPmod, SemiMarkov, SpeciesMix, ssym, stremo, turboEM
Reverse imports: antitrust, bbmle, BMhyd, boolean3, CIDnetworks, condGEE, corHMM, CountsEPPM, DoubleExpSeq, FDGcopulas, finiteruinprob, flexCWM, GB2, geostatsp, GPvam, gsg, inferference, lava, lmerTest, marked, metaplus, metRology, mets, midasr, mirt, MixGHD, mpath, MPTinR, nlWaldTest, optimx, OUwie, phytools, pi0, Rcgmin, RealVAMS, Renext, robustvarComp, rodd, rugarch, sdprisk, sensR, sn, StableEstim, stochprofML, SurvRegCensCov, timereg, TKF, vcrpart
Reverse suggests: BB, cccp, diversitree, DoseFinding, emdbook, flexsurv, glmx, gof, highfrequency, KFKSDS, LambertW, metafor, msm, nlmrt, pso, psychomix, ROI, rpf, sna, sparseHessianFD, stsm, stsm.class, surveillance, ucminf