Tools for General Maximum Likelihood Estimation
Overview
Methods and functions for fitting maximum likelihood models in R. This package modifies and extends the 'mle' classes in the 'stats4' package.
NEW FEATURES
confintmethod gains astd.errargument, for use when Wald standard errors are unavailable or unreliablemle2gains ahessian.methodargument, which can be set to "optimHess" when the default method (hessianorjacobianfrom thenumDerivpackage) is unreliable
BUG FIXES
- added a
nobsmethod formle2objects; its absence madeBICtab/ICtab(type="BIC")fail unconditionally, and madeAICc/qAICcfall back to unreliable heuristics (GH #35) ICtab(type="BIC")now respects an explicitnobsargument, instead of silently ignoring it (GH #35)- fixed inconsistent degrees-of-freedom adjustment in
qAICc, which causedqAICc()on a single object to disagree withqAICc()on multiple objects (GH #22) mle2(optimizer="optimx")now checks up front that the requestedmethod(s) are recognized and that any packages they require (e.g.minqafor"bobyqa"/"newuoa",BBfor"spg",ucminffor"ucminf",dfoptimfor"nmkb"/"hjkb") are installed, instead of silently returning NA parameter estimates; a generic check also now catches NA parameter results from any optimizer (GH #31)
From inst/NEWS.Rd in the release
Install
Health
NOTEtestsr-release-macos-arm64
Running ‘BIC.R’ [1s/1s] Comparing ‘BIC.Rout’ to ‘BIC.Rout.save’ ... OK Running ‘ICtab.R’ [1s/1s] Comparing ‘ICtab.Rout’ to ‘ICtab.Rout.save’ ... OK Running ‘RUnit-tests.R’ [0s/0s] Running ‘binomtest1.R’ [1s/1s] Comparing ‘binomtest1.Rout’ to ‘binomtest1.Rout.save’ ... OK Running ‘boundstest.R’ [0s/0s] Running ‘controleval.R’ [1s/1s] Comparing ‘controleval.Rout’ to ‘controleval.Rout.save’ ... OK Running ‘eval.R’ [1s/1s] Comparing ‘eval.Rout’ to ‘eval.Rout.save’ ... OK Running ‘formulatest.R’ [1s/1s] Comparing ‘formulatest.Rout’ to ‘formulatest.Rout.save’ ... OK Running ‘glmcomp.R’ [1s/1s] Comparing ‘glmcomp.Rout’ to ‘glmcomp.Rout.save’ ... OK Running ‘gradient_vecpar_profile.R’ [4s/4s] Comparing ‘gradient_vecpar_profile.Rout’ to ‘gradient_vecpar_profile.Rout.save’ ... OK Running ‘grtest1.R’ [1s/1s] Comparing ‘grtest1.Rout’ to ‘grtest1.Rout.save’ ... OK Running ‘impsamp.R’ [1s/1s] Running ‘methods.R’ [1s/1s] Comparing ‘methods.Rout’ to ‘methods ...[truncated]... 52 (ERROR: ABNORMAL_TERMINATION_IN_LNSRCH) Running ‘richards.R’ [3s/3s] Comparing ‘richards.Rout’ to ‘richards.Rout.save’ ... OK Running ‘startvals.R’ [1s/1s] Comparing ‘startvals.Rout’ to ‘startvals.Rout.save’ ... OK Running ‘startvals2.R’ [1s/1s] Comparing ‘startvals2.Rout’ to ‘startvals2.Rout.save’ ... OK Running ‘test-relist1.R’ [1s/1s] Comparing ‘test-relist1.Rout’ to ‘test-relist1.Rout.save’ ... OK Running ‘testbounds.R’ [1s/1s] Comparing ‘testbounds.Rout’ to ‘testbounds.Rout.save’ ... OK Running ‘testderiv.R’ [1s/1s] Comparing ‘testderiv.Rout’ to ‘testderiv.Rout.save’ ... OK Running ‘testenv.R’ [1s/1s] Comparing ‘testenv.Rout’ to ‘testenv.Rout.save’ ... OK Running ‘testparpred.R’ [1s/1s] Comparing ‘testparpred.Rout’ to ‘testparpred.Rout.save’ ... OK Running ‘tinytest.R’ [1s/1s] Running ‘tmptest.R’ [1s/1s] Comparing ‘tmptest.Rout’ to ‘tmptest.Rout.save’ ... OK Running ‘update.R’ [1s/1s] Comparing ‘update.Rout’ to ‘update.Rout.save’ ... OK
- NOTE12 OK, 1 NOTENow
- NOTE6 OK, 7 NOTE2026-07-24
- ERROR6 OK, 5 NOTE, 2 ERROR2026-07-22
- NOTE13 OK, 1 NOTE2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 100%15 run in a plain check
- Exported functions with examples
- 77%
- Documented parameters
- 98%
- Return-value docs
- 77%
- Help pages citing references
- 10%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 12
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/bbolker/bbmle on 2026-10-18.
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-07-19Commits: at least 4 crediting it in the message
- Claude Sonnet 54 commits · Jul 2026
Dependencies
Installing bbmle adds 3 packages (2 with compiled code, 1.1 MB of source tarballs). Heaviest: mvtnorm 1.0 MB, numDeriv 74 KB, bdsmatrix 47 KB.
Code & Tests
People & History
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- 3.0.22013-08-22 · diff ↗
- RR 3.0.0 released · 2013-04-03
Show 59 earlier eventsHide 59 earlier events
- 2.15.22012-07-29 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2.14.22012-01-16 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 2.13.22011-09-14 · diff ↗
- 2.13.12011-06-17 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 2.12.12010-11-03 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 2.11.1
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 2.10.02009-08-10 · diff ↗
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- 2.8.02008-08-26 · diff ↗
- 2.7.22008-08-04 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 2.7.02008-03-07 · diff ↗
- 2.6.12007-11-15 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 2.6.02007-07-29 · diff ↗
- 2.5.12007-06-13 · diff ↗
- RR 2.5.0 released · 2007-04-24
- 2.5.02007-02-10 · diff ↗
- 1.0.262026-08-31 · diff ↗
- 1.0.25.12023-12-09 · diff ↗
- 1.0.25
- 1.0.242021-08-05 · diff ↗
- 1.0.23.12020-02-03 · diff ↗
- 1.0.22
- 1.0.202017-10-30 · diff ↗
- 1.0.19
- 1.0.182016-02-11 · diff ↗
- 1.0.172014-05-27 · diff ↗
- 1.0.162014-03-02 · diff ↗
- 1.0.152013-11-21 · diff ↗
- 1.0.132013-08-23 · diff ↗
- 1.0.112013-08-20 · diff ↗
- 1.0.5.22012-08-01 · diff ↗
- 1.0.5.1
- 1.0.4.12012-01-28 · diff ↗
- 1.0.42012-01-02 · diff ↗
- 1.0.32011-09-14 · diff ↗
- 1.0.22011-09-07 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 18 exports
mle2, call.to.char, namedrop, parnames, parnames<-, relist2, sbinom, snorm, sbeta, snbinom, spois, sbetabinom, ICtab, AICtab, BICtab, AICctab, stdEr, vcov - 1.0.02011-06-27 · diff ↗
- 0.9.72011-01-10 · diff ↗
- 0.9.5.12010-05-22 · diff ↗
- 0.9.32009-09-18 · diff ↗
- 0.9.02009-02-05 · diff ↗
- 0.8.92008-08-07 · diff ↗
- 0.8.52008-03-09 · diff ↗
- 0.8.22007-11-17 · diff ↗
- 0.8.12007-10-23 · diff ↗
- 0.7.72007-07-30 · diff ↗
- 0.7.52007-06-17 · diff ↗
- 0.72007-05-22 · diff ↗
- 0.62007-02-20
- RR 2.4.0 released · 2006-10-03
Package metadata
- First published
- 2007-02-10
- Total releases
- 49 / 19 yrs
- License
- GPL
- Minimum R
- ≥ 3.0.0
- Download size
- 529 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bbmle")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.