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 (arm64): numDeriv_2016.8-1.1.tgz, r-oldrel (arm64): numDeriv_2016.8-1.1.tgz, r-release (x86_64): numDeriv_2016.8-1.1.tgz, r-oldrel (x86_64): numDeriv_2016.8-1.1.tgz
Old sources: numDeriv archive

Reverse dependencies:

Reverse depends: alabama, bayesDccGarch, bayesmeta, BiProbitPartial, bnormnlr, catIrt, CBPS, CompDist, CompLognormal, compound.Cox, copCAR, DIMORA, DOBAD, dsm, embryogrowth, fracprolif, ghyp, HPbayes, hsem, lcpm, lmeNB, M3Drop, mederrRank, mipfp, NMMIPW, nmw, OneStep, phenology, QRM, rxSeq, SemiMarkov, sgt, ssym, tbd, turboEM, tvgarch, wnl
Reverse imports: activegp, aghq, aldvmm, antitrust, apollo, ARCensReg, ARpLMEC, AssetCorr, auctionr, BAMBI, BayesianTools, bbmle, BIGL, BinaryEPPM, bizicount, blackbox, BLPestimatoR, brglm2, chandwich, CIAAWconsensus, climwin, clusteredinterference, CompAREdesign, condGEE, copula, corHMM, corncob, Countr, CountsEPPM, coxphMIC, cta, ctmcd, ctmm, discfrail, Disequilibrium, distributional, DoubleExpSeq, dwp, dynr, EKMCMC, elasdics, emmeans, Epi, equateMultiple, ergMargins, EstimationTools, EWS, ExtDist, extendedFamily, ExtremalDep, fastR2, fcirt, fdapace, FENmlm, fic, finiteruinprob, fishmethods, fitHeavyTail, fixest, flexCWM, flexsurv, FMCCSD, footBayes, frailtyEM, frailtySurv, gamCopula, GAS, GB2, GB2group, GDINA, geex, geoFKF, ggdist, GGMncv, gim, GJRM, GladiaTOX, glinvci, glmmTMB, glmtoolbox, gofCopula, GPvam, grmsem, HDBRR, hierSDR, highfrequency, ICcalib, incidental, indelmiss, inferference, Infusion, IPEC, IsoriX, ivtools, kergp, kinematics, lacm, lava, lavaan, lax, lbfgsb3c, lmerTest, LMMstar, LoopDetectR, lqr, lsbs, marcher, marked, markophylo, mbmixture, mccmeiv, mecor, merDeriv, metaplus, metaSEM, metRology, mets, mexhaz, mfGARCH, mhurdle, midasr, MIIVsem, milr, misclassGLM, misreport, MixGHD, mixl, mkin, mlt, mlt.docreg, MNB, momentuHMM, moveHMM, mpath, MPTinR, mrds, MSGARCH, multicmp, mvglmmRank, mvord, NFCP, nlmm, optextras, optimr, optimx, ordinal, OUwie, pacotest, pbkrtest, PenIC, phenofit, phytools, PLmixed, pooling, PracticalEquiDesign, PrevMap, ProbitSpatial, PROreg, pspatreg, PSweight, psychonetrics, ptmixed, PTSR, Qtools, Rchoice, RealVAMS, Renext, RJafroc, RMM, robmixglm, robustBLME, rodd, Rphylopars, rugarch, sarima, sars, sdprisk, seqHMM, sfaR, SGB, SIfEK, sinar, SIRE, skewlmm, sklarsomega, skyscapeR, slgf, smam, smile, sn, sns, spant, SPAS, spldv, spsur, StableEstim, stabreg, stdReg, stochprofML, StVAR, surf, survey, SurvRegCensCov, tcl, tcpl, tcplfit2, temperatureresponse, Temporal, tfarima, ThreeArmedTrials, ThresholdROC, timereg, tobit1, touchard, trajeR, tramME, TSMSN, ttcg, ui, UPCM, VCA, waydown, WeMix, xmeta
Reverse suggests: aster, BB, cccp, cotram, DiceKriging, discSurv, diseq, diversitree, docopulae, DoseFinding, ebnm, emdbook, fido, flacco, GauPro, gcKrig, glmx, hadron, hesim, hhh4contacts, IGP, KFKSDS, LambertW, lavaSearch2, legion, lfe, lme4, lmls, LMN, MAST, metadat, metafor, metarep, miceadds, mlr, msm, nlmrt, nlsic, nlsr, ohenery, OpenMx, optimParallel, proDA, pso, psqn, psychomix, Rcgmin, regsem, riskParityPortfolio, riskRegression, ROI, rpf, RSSL, SACOBRA, SAMtool, schumaker, SemiEstimate, smooth, smovie, sna, sparseHessianFD, sphunif, statespacer, stsm, SuperGauss, surveillance, switchde, TestFunctions, TMB, torch, tram, ucminf, VineCopula


Please use the canonical form to link to this page.