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.1
Depends: R (≥ 2.11.1)
Published: 2019-06-06
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.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: numDeriv_2016.8-1.1.tgz, r-oldrel: numDeriv_2016.8-1.1.tgz
Old sources: numDeriv archive

Reverse dependencies:

Reverse depends: alabama, BiProbitPartial, bnormnlr, catIrt, CBPS, CompDist, CompLognormal, compound.Cox, copCAR, DIMORA, DOBAD, dsm, embryogrowth, fgof, fracprolif, ghyp, HPbayes, lcpm, lmeNB, ltbayes, M3Drop, mederrRank, mgpd, mipfp, mixlink, nmw, OneStep, phenology, QRM, rxSeq, SemiMarkov, sgt, ssym, tbd, turboEM, wnl
Reverse imports: activegp, antitrust, apollo, ARCensReg, ARpLMEC, AssetCorr, auctionr, automultinomial, BAMBI, BayesianTools, bbmle, BIGL, BinaryEPPM, blackbox, BLPestimatoR, brglm2, CensSpatial, chandwich, CIAAWconsensus, climwin, clusteredinterference, condGEE, copula, corHMM, Countr, CountsEPPM, coxphMIC, ctmcd, ctmm, cuRe, discfrail, Disequilibrium, distributional, DoubleExpSeq, durmod, dynr, EKMCMC, emmeans, Epi, equateMultiple, ergMargins, EstimationTools, EWS, ExtremalDep, fastR2, fdapace, FENmlm, fic, finiteruinprob, fishmethods, fixest, flexCWM, FMCCSD, frailtyEM, frailtySurv, gamCopula, GAS, GB2, GB2group, GDINA, geex, geostatsp, GGMncv, gim, GJRM, GladiaTOX, glmmsr, gofCopula, GPvam, HAC, ICcalib, incidental, indelmiss, inferference, Infusion, IPEC, IsoriX, ivtools, kergp, lacm, lava, lavaan, lax, lbfgsb3c, lmerTest, LoopDetectR, lqr, lsbs, marcher, marked, markophylo, mccmeiv, merDeriv, metaplus, metaSEM, metRology, mets, mexhaz, mfGARCH, midasr, MIIVsem, milr, misclassGLM, misreport, MixGHD, mixl, mkin, mlt, mlt.docreg, momentuHMM, moveHMM, mpath, MPTinR, mrds, MSGARCH, multicmp, mvglmmRank, mvord, nlmm, optextras, optimr, optimx, ordinal, OUwie, pacotest, PenIC, phenofit, phytools, PLmixed, pooling, predictmeans, PrevMap, PROreg, pssm, PSweight, psychonetrics, ptmixed, Qtools, Rcgmin, RealVAMS, Renext, RJafroc, robmixglm, robustBLME, rodd, rsq, rugarch, sarima, sars, sdprisk, sensR, seqHMM, SGB, SIfEK, SIRE, skewlmm, sklarsomega, smam, sn, sns, spant, SPAS, spfrontier, spsur, StableEstim, stabreg, stdReg, stochprofML, StVAR, survey, SurvRegCensCov, tcl, tcpl, temperatureresponse, Temporal, ThreeArmedTrials, ThresholdROC, timereg, touchard, TSMSN, ui, VCA, vcrpart, WeMix, xmeta, ZOIP
Reverse suggests: aster, BB, cccp, DiceKriging, discSurv, diseq, diversitree, docopulae, DoseFinding, emdbook, flacco, flexsurv, GauPro, gcKrig, glmmTMB, glmx, hadron, hesim, hhh4contacts, IGP, KFKSDS, LAM, LambertW, lavaSearch2, lfe, lme4, MAST, metafor, metarep, miceadds, mlr, msm, nlmrt, nlsr, ohenery, OpenMx, optimParallel, proDA, pso, psychomix, regsem, riskParityPortfolio, ROI, rpf, RSSL, SACOBRA, schumaker, smooth, smovie, sna, sparseHessianFD, statespacer, stsm, stsm.class, SuperGauss, surveillance, switchde, TestFunctions, TMB, tram, ucminf, VineCopula, xtune


Please use the canonical form to link to this page.