R Interface to the Levenberg-Marquardt Nonlinear Least-Squares Algorithm Found in MINPACK, Plus Support for Bounds

The nls.lm function provides an R interface to lmder and lmdif from the MINPACK library, for solving nonlinear least-squares problems by a modification of the Levenberg-Marquardt algorithm, with support for lower and upper parameter bounds. The implementation can be used via nls-like calls using the nlsLM function.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("minpack.lm")

1.2-4 by Katharine M. Mullen, 3 years ago


Browse source code at https://github.com/cran/minpack.lm


Authors: Timur V. Elzhov , Katharine M. Mullen , Andrej-Nikolai Spiess , Ben Bolker


Documentation:   PDF Manual  


GPL-3 license


Suggests MASS


Imported by AccelStab, ActCR, AgroReg, AquaEnv, AquaticLifeHistory, BIGL, BIOEFIC, BIOMASS, BRCore, Compositional, CompositionalSR, Compositionalasmr, Compositionalridge, DeltaTools, EMOTIONS, EmpiricalDynamics, FAMetA, FME, FatTailsR, GB2group, GrowthCurveME, ImFoR, IncAAM, LLSR, Luminescence, MFO, MetaLandSim, OEFPIL, OSLdecomposition, OenoKPM, PRA, PUPMSI, QurvE, RFlocalfdr, Rquake, SOMnmR, STMr, TIMP, YEAB, afmToolkit, anabel, beezdemand, beezdiscounting, betapart, bootf2, cdom, cercospoRa, demofit, dendRoAnalyst, downscale, dryingkineticmodels, echo.find, econet, emaxnls, epifitter, eseis, estprod, fdasrvf, fitnmr, flippant, forestmangr, gen5helper, genSEIR, gplsim, grandR, growthcurver, htrSPRanalysis, iCAMP, ivdtools, lactater, mMARCH.AC, marcher, mixchar, mixtox, ncmR, nls.multstart, nnetLM, optRF, oro.pet, pam, pkpd.Release, power.nb, pricelevels, propagate, rAmCharts4, rBiasCorrection, respirometry, rumenGP, sars, scR, seinfitR, semds, sfadv, shapes, shorts, sicegar, soiltestcorr, spant, specProc, tReeTraits, temperatureresponse, trajeR, vachette, whippr, xgxr.

Depended on by DIMORA, ELISAtools, Ritc, cellVolumeDist, miLAG, micEconCES, onls, photosynthesis, qpcR, rTG, tumgr.

Suggested by CircaCP, REddyProc, biogas, bootGOF, deli, devRate, nlmixr2est, nlmrt, nlraa, nlsr, pacu, pctax, predmicror, rTPC, simodels, timbeR.


See at CRAN