numDeriv: Accurate Numerical Derivatives

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: 2016.8-1
Depends: R (≥ 2.11.1)
Published: 2016-08-27
Author: Paul Gilbert and Ravi Varadhan
Maintainer: Paul Gilbert <pgilbert.ttv9z at>
License: GPL-2
Copyright: 2006-2011, Bank of Canada. 2012-2016, Paul Gilbert
NeedsCompilation: no
Materials: NEWS
In views: NumericalMathematics
CRAN checks: numDeriv results


Reference manual: numDeriv.pdf
Vignettes: numDeriv Guide
Package source: numDeriv_2016.8-1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: numDeriv_2016.8-1.tgz
OS X Mavericks binaries: r-oldrel: numDeriv_2016.8-1.tgz
Old sources: numDeriv archive

Reverse dependencies:

Reverse depends: alabama, B2Z, bayesDccGarch, BLPestimatoR, bnormnlr, catIrt, CBPS, CompLognormal, compound.Cox, copCAR, dhglm, DOBAD, dsm, embryogrowth, FENmlm, fgof, fishmethods, fracprolif, frailtyHL, ghyp, HPbayes, lbfgsb3, lmeNB, ltbayes, mdhglm, mederrRank, mgpd, mipfp, mixlink, mvglmmRank, mvSLOUCH, optextras, phenology, QRM, rxSeq, SemiMarkov, sgt, SpeciesMix, ssym, ThresholdROC, turboEM
Reverse imports: antitrust, ARCensReg, BayesianTools, bbmle, BIGL, BinaryEPPM, blackbox, BMhyd, boolean3, CensSpatial, CIAAWconsensus, CIDnetworks, climwin, cmpprocess, condGEE, copula, corHMM, Countr, CountsEPPM, coxphMIC, ctmcd, ctmm, DoubleExpSeq, dynr, Epi, ExtDist, fdapace, FDGcopulas, finiteruinprob, flexCWM, frailtySurv, gamCopula, GAS, GB2, GDINA, geostatsp, gofCopula, GPvam, gsg, HAC, highfrequency, HRQoL, indelmiss, inferference, Infusion, IPEC, IRTpp, IsoriX, kergp, lava, lavaan, mafs, marcher, marked, markophylo, metaplus, metRology, mets, mev, mexhaz, midasr, MIIVsem, milr, mirt, misclassGLM, misreport, MixGHD, mlt, mlt.docreg, momentuHMM, mpath, MPTinR, mrds, multicmp, optimr, optimx, OUwie, pacotest, phytools, pi0, pifpaf, PLmixed, PrevMap, ProbitSpatial, PROreg, pssm, Rcgmin, RealVAMS, Renext, robustBLME, robustloggamma, robustvarComp, rodd, rstpm2, rugarch, sdprisk, sensR, seqHMM, smam, sn, sns, spfrontier, StableEstim, stochprofML, StVAR, SurvRegCensCov, tcpl, ThreeArmedTrials, timereg, TKF, umx, VCA, vcrpart, xmeta
Reverse suggests: aster, automultinomial, BB, cccp, discSurv, diversitree, docopulae, DoseFinding, emdbook, flacco, flexsurv, gcKrig, glmx, gof, hhh4contacts, KFKSDS, LambertW, lfe, lme4, meta, metafor, mlr, msm, nlmrt, nlsr, OpenMx, pso, psychomix, regsem, ROI, rpf, RSSL, schumaker, smooth, sna, sparseHessianFD, stsm, stsm.class, SuperGauss, surveillance, TestFunctions, TMB, ucminf


Please use the canonical form to link to this page.