# BMS 0.3.5 (CRAN)

Bayesian Model Averaging Library

[Record of 0.3.5](/cran/BMS/v/0.3.5.md) | [Compare with 0.3.4](/cran/BMS/compare/0.3.4...0.3.5.md) | [Licences](/cran/BMS/licences.md) | [SBOM](/cran/BMS/sbom.md)

Install from CRAN: `install.packages("BMS")`

Also from:

- r2u (Ubuntu binaries): `sudo apt install r-cran-bms` _Listed from recorded download activity on this channel, not from a live index, so read it as last known. Bioconductor packages are named r-bioc-<name> there._
- Fedora COPR (iucar/cran): `sudo dnf install R-CRAN-BMS` _A rebuild of what CRAN lists, so it can lag CRAN by a rebuild._
- autoCRAN (openSUSE): `sudo zypper install R-BMS` _Listed from recorded download activity on this channel, not from a live index, so read it as last known._
- conda-forge: `conda install -c conda-forge r-bms` _Listed from recorded download activity on this channel, not from a live index, so read it as last known._

- CRAN checks: OK (notes on 2 of 13)
- CRAN 30-day downloads: 671 (down 34.9% on the 30 days before, the worse direction)
- Dependent packages: 1 (2 more suggest it)
- Test coverage: No tests (nothing to run)
- Advisories: None known

## About

[Method](/about/licenses.md)

Bayesian Model Averaging for linear models with a wide choice of (customizable) priors. Built-in priors include coefficient priors (fixed, hyper-g and empirical priors), 5 kinds of model priors, moreover model sampling by enumeration or various MCMC approaches.

**Full description**

Bayesian Model Averaging for linear models with a wide choice of (customizable) priors. Built-in priors include coefficient priors (fixed, hyper-g and empirical priors), 5 kinds of model priors, moreover model sampling by enumeration or various MCMC approaches. Post-processing functions allow for inferring posterior inclusion and model probabilities, various moments, coefficient and predictive densities. Plotting functions available for posterior model size, MCMC convergence, predictive and coefficient densities, best models representation, BMA comparison. Also includes Bayesian normal-conjugate linear model with Zellner's g prior, and assorted methods.

- Maintainer: Stefan Zeugner
- Licence: [BSD_3_clause + file LICENSE](/licences/BSD_3_clause.md)
- Latest release: 9 Aug 2022
- First release: 26 Jul 2010

- [Website](http://bms.zeugner.eu)
- [CRAN page](https://cran.r-project.org/package=BMS)
- [Source of every release](https://github.com/cran/BMS)

[Compare with another package](/compare/BMS.md#add)

**More details**

- Releases: 7
- Needs compilation: No
- Needs R: >= 2.10
- Date: 2022-08-05
- LazyData: true
- RoxygenNote: 7.2.1

**Task views (2)**

- [Bayesian Inference](/topics/cran/Bayesian.md)
- [Econometrics](/topics/cran/Econometrics.md)

**Subjects (1) [Method](/about/subjects.md#found)**

- [Bayesian inference and MCMC](/topics/subjects/markov-chain-monte-carlo.md)

**Cite**

#### Package

Run in R for the authors' entry:

`citation("BMS")`

The package provides a citation file, so `citation()` returns the authors' own entry.

#### R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA: Balamuta, J. J. (2026). R Observatory: Metrics for BMS version 0.3.5 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

BibTeX:

```
@misc{robservatoryBMS,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {BMS} version 0.3.5},
  year      = {2026},
  publisher = {HJJB, LLC},
  doi       = {10.5281/zenodo.21843040},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/BMS},
  note      = {Data set. Data release v2026-10-26}
}
```

From data release v2026-10-26, which the citation names so these numbers can be found later.

## Health

[Method](/about/checks-health.md)

No warnings or errors. 2 of 13 check platforms have notes.

13 CRAN platforms: 2 Note, 11 OK.

**Check output (1)**

**CRAN incoming feasibility**, Note on 2 platforms

```
Maintainer: ‘Stefan Zeugner <stefan.zeugner@ec.europa.eu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Martin",
                      family = "Feldkircher",
                      role = "aut"),
               person(given = "Stefan",
                      family = "Zeugner",
                      role = c("aut", "cre"),
                      email = "stefan.zeugner@ec.europa.eu"),
               person(given = "Paul",
                      family = "Hofmarcher",
                      role = "aut"))
as necessary.

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
```

Platforms now:

- r-devel-linux-x86_64-debian-clang: Note
- r-devel-linux-x86_64-debian-gcc: Note
- r-devel-linux-x86_64-fedora-clang: OK
- r-devel-linux-x86_64-fedora-gcc: OK
- r-devel-windows-x86_64: OK
- r-oldrel-macos-arm64: OK
- r-oldrel-macos-x86_64: OK
- r-oldrel-windows-x86_64: OK
- r-patched-linux-x86_64: OK
- r-release-linux-x86_64: OK
- r-release-macos-arm64: OK
- r-release-macos-x86_64: OK
- r-release-windows-x86_64: OK

[Check results on CRAN](https://cran.r-project.org/web/checks/check_results_BMS.html)

## Downloads

[Method](/about/downloads.md)

- Downloads in the last 30 days: 1,422 (up 18.1% on the 30 days before, the better direction. It is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.)

CRAN alone: rank among CRAN packages, last 30 days: 4,604 of 26,529.

| Channel | Downloads in the last 30 days | In the total | Rank in that channel | Change |
| --- | ---: | --- | --- | --- |
| CRAN | 671 | yes | 4,604 of 26,529 | down 34.9% on the 30 days before, the worse direction |
| r2u | 73 | yes | 2,677 of 30,526 | up 181% on the 30 days before, the better direction |
| autoCRAN | 34 | yes | 1,198 of 29,130 | down 42.4% on the 30 days before, the worse direction |
| conda-forge | 631 | yes | 1,318 of 3,828 | up 988% on the 30 days before, the better direction |
| c2d4u | 13 | yes | 1,323 of 7,575 | down 58.1% on the 30 days before, the worse direction |

Other windows: [Last 90 days](/cran/BMS.md?win=90d#downloads), [Last 365 days](/cran/BMS.md?win=365d#downloads), [All time](/cran/BMS.md?win=all#downloads).

To leave channels out of the total, name them in the address, joined by dots: `?off=conda_forge.c2d4u`.

#### Over time

Downloads over time, the last 12 whole months:

| Month | CRAN | r2u | autoCRAN | conda-forge | c2d4u | Sum |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| Oct 2025 | 1,459 | 5 | no figure | 109 | 14 | 1,587 |
| Nov 2025 | 1,383 | 4 | no figure | 140 | 7 | 1,534 |
| Dec 2025 | 1,766 | 12 | no figure | 205 | 12 | 1,995 |
| Jan 2026 | 676 | 6 | no figure | 122 | 11 | 815 |
| Feb 2026 | 829 | 14 | no figure | 78 | 15 | 936 |
| Mar 2026 | 793 | 10 | no figure | 97 | 19 | 919 |
| Apr 2026 | 735 | 26 | no figure | 96 | 50 | 907 |
| May 2026 | 744 | 19 | no figure | 152 | no figure | 915 |
| Jun 2026 | 721 | 34 | no figure | 83 | no figure | 838 |
| Jul 2026 | 832 | 40 | 71 | 42 | 13 | 998 |
| Aug 2026 | 759 | 27 | 49 | 59 | 32 | 926 |
| Sep 2026 | 1,054 | 73 | 59 | no figure | no figure | not whole yet |

The sum stops at Aug 2026: conda-forge has no later month on record yet.

First day on record: CRAN 10 Oct 2012, r2u 10 Aug 2022, autoCRAN 1 Jul 2026, conda-forge 11 Jul 2021, c2d4u 26 Aug 2011 (no longer updated).

Every channel here counts downloads, so the channels can be stacked and summed for one period. Each channel counts in its own way and covers a different span of years, so read a sum as a rough total, and read a rise where a channel begins as that channel starting, not as growth.

Weeks start on Monday. A first or last week or month that the channel does not cover in full is left out, so every point is a whole period.

Days with no record add nothing to their week or month. For a little-used package that is usually a day with no downloads, but it can also be a gap in collection.

[Compare downloads](/downloads/compare/BMS.md#add)

## Dependencies

[Method](/about/reverse-dependencies.md)

- Needs: 3
- Dependent packages: 1
- Suggested by: 2

**Needs (3)**

- graphics
- methods
- stats

- Installing it adds: 0 packages, 0 KB of source
- Of those, need compilation: 0

**Dependent packages (1)**

| Package | Title | Downloads in 30 days |
| --- | --- | ---: |
| [bayesics](/cran/bayesics.md) | Bayesian Analyses for One- and Two-Sample Inference and Regression Methods | 461 |

## Code

[Method](/about/code-metrics.md)

Selected function: `pmp.bma`

- Kind: Public R function
- File: R/aux_outer.R, line 190
- Lines: 41
- Complexity: 6

Called by 9: [`pred.density`](/cran/BMS.md?fn=pred.density&view=focus#code), [`.post.topmod.bma`](/cran/BMS.md?fn=.post.topmod.bma&view=focus#code), [`plotConv`](/cran/BMS.md?fn=plotConv&view=focus#code), [`.cor.topmod`](/cran/BMS.md?fn=.cor.topmod&view=focus#code), [`.post.calc`](/cran/BMS.md?fn=.post.calc&view=focus#code), [`density.bma`](/cran/BMS.md?fn=density.bma&view=focus#code), [`image.bma`](/cran/BMS.md?fn=image.bma&view=focus#code), [`plotModelsize`](/cran/BMS.md?fn=plotModelsize&view=focus#code), [`gdensity`](/cran/BMS.md?fn=gdensity&view=focus#code)

Calls 2: [`is.bma`](/cran/BMS.md?fn=is.bma&view=focus#code), [`is.topmod`](/cran/BMS.md?fn=is.topmod&view=focus#code)

Paths: 2 steps each way.

Called by 9:

- [`pred.density`](/cran/BMS.md?fn=pred.density&view=focus#code), called by 1
  - [`lps.bma`](/cran/BMS.md?fn=lps.bma&view=focus#code)
- [`.post.topmod.bma`](/cran/BMS.md?fn=.post.topmod.bma&view=focus#code), called by 2
  - [`plotModelsize`](/cran/BMS.md?fn=plotModelsize&view=focus#code), called by 1
  - [`topmodels.bma`](/cran/BMS.md?fn=topmodels.bma&view=focus#code)
- [`plotConv`](/cran/BMS.md?fn=plotConv&view=focus#code), called by 1
  - [`plot.bma`](/cran/BMS.md?fn=plot.bma&view=focus#code), called by 1
- [`.cor.topmod`](/cran/BMS.md?fn=.cor.topmod&view=focus#code), called by 2
  - [`plotConv`](/cran/BMS.md?fn=plotConv&view=focus#code), called by 1
  - [`info.bma`](/cran/BMS.md?fn=info.bma&view=focus#code), called by 2
- [`.post.calc`](/cran/BMS.md?fn=.post.calc&view=focus#code), called by 2
  - [`bms`](/cran/BMS.md?fn=bms&view=focus#code)
  - [`combine_chains`](/cran/BMS.md?fn=combine_chains&view=focus#code), called by 1
- [`density.bma`](/cran/BMS.md?fn=density.bma&view=focus#code), called by 1
  - [`density.zlm`](/cran/BMS.md?fn=density.zlm&view=focus#code)
- [`image.bma`](/cran/BMS.md?fn=image.bma&view=focus#code)
- [`plotModelsize`](/cran/BMS.md?fn=plotModelsize&view=focus#code), called by 1
  - [`plot.bma`](/cran/BMS.md?fn=plot.bma&view=focus#code), called by 1
- [`gdensity`](/cran/BMS.md?fn=gdensity&view=focus#code)

Calls 2:

- [`is.bma`](/cran/BMS.md?fn=is.bma&view=focus#code)
- [`is.topmod`](/cran/BMS.md?fn=is.topmod&view=focus#code)

The open file in the files map is `R/aux_outer.R`.

- Functions: 61
- Lines: 2,703
- Calls that stay inside it: 78
- Calls to other files: 3, to 1
- Calls from other files: 6, from 2

It calls: `R/aux_inner.R` (3 calls)

Called from: `R/bma.R` (4 calls), `R/aux_inner.R` (2 calls)

| Function in aux_outer.R | Calls in other files |
| --- | --- |
| [`pmp.bma`](/cran/BMS.md?fn=pmp.bma&view=focus#code) selected | nothing outside this file |
| [`zlm`](/cran/BMS.md?fn=zlm&view=focus#code) | [`.choose.gprior`](/cran/BMS.md?fn=.choose.gprior&view=focus#code), [`.ols.terms2`](/cran/BMS.md?fn=.ols.terms2&view=focus#code) |
| [`combine_chains`](/cran/BMS.md?fn=combine_chains&view=focus#code) | [`.post.calc`](/cran/BMS.md?fn=.post.calc&view=focus#code) |
| [`.adjustdots`](/cran/BMS.md?fn=.adjustdots&view=focus#code) | nothing outside this file |
| [`.construct.arglist`](/cran/BMS.md?fn=.construct.arglist&view=focus#code) | nothing outside this file |

**More functions (56)**

| Function in aux_outer.R | Calls in other files |
| --- | --- |
| [`.cor.topmod`](/cran/BMS.md?fn=.cor.topmod&view=focus#code) | nothing outside this file |
| [`.hexcode.binvec.convert`](/cran/BMS.md?fn=.hexcode.binvec.convert&view=focus#code) | nothing outside this file |
| [`.post.beta.draws`](/cran/BMS.md?fn=.post.beta.draws&view=focus#code) | nothing outside this file |
| [`.post.constant`](/cran/BMS.md?fn=.post.constant&view=focus#code) | nothing outside this file |
| [`.post.estimates`](/cran/BMS.md?fn=.post.estimates&view=focus#code) | nothing outside this file |
| [`.post.topmod.bma`](/cran/BMS.md?fn=.post.topmod.bma&view=focus#code) | nothing outside this file |
| [`.post.topmod.includes`](/cran/BMS.md?fn=.post.topmod.includes&view=focus#code) | nothing outside this file |
| [`.top10`](/cran/BMS.md?fn=.top10&view=focus#code) | nothing outside this file |
| [`.topmod.as.bbetaT`](/cran/BMS.md?fn=.topmod.as.bbetaT&view=focus#code) | nothing outside this file |
| [`[.bma`](/cran/BMS.md?fn=%5B.bma&view=focus#code) | nothing outside this file |
| [`[.topmod`](/cran/BMS.md?fn=%5B.topmod&view=focus#code) | nothing outside this file |
| [`as.zlm`](/cran/BMS.md?fn=as.zlm&view=focus#code) | nothing outside this file |
| [`beta.draws.bma`](/cran/BMS.md?fn=beta.draws.bma&view=focus#code) | nothing outside this file |
| [`bin2hex`](/cran/BMS.md?fn=bin2hex&view=focus#code) | nothing outside this file |
| [`c.bma`](/cran/BMS.md?fn=c.bma&view=focus#code) | nothing outside this file |
| [`coef.bma`](/cran/BMS.md?fn=coef.bma&view=focus#code) | nothing outside this file |
| [`density.bma`](/cran/BMS.md?fn=density.bma&view=focus#code) | nothing outside this file |
| [`density.zlm`](/cran/BMS.md?fn=density.zlm&view=focus#code) | nothing outside this file |
| [`deviance.bma`](/cran/BMS.md?fn=deviance.bma&view=focus#code) | nothing outside this file |
| [`deviance.zlm`](/cran/BMS.md?fn=deviance.zlm&view=focus#code) | nothing outside this file |
| [`estimates.bma`](/cran/BMS.md?fn=estimates.bma&view=focus#code) | nothing outside this file |
| [`f21hyper`](/cran/BMS.md?fn=f21hyper&view=focus#code) | nothing outside this file |
| [`fullmodel.ssq`](/cran/BMS.md?fn=fullmodel.ssq&view=focus#code) | nothing outside this file |
| [`gdensity`](/cran/BMS.md?fn=gdensity&view=focus#code) | nothing outside this file |
| [`hex2bin`](/cran/BMS.md?fn=hex2bin&view=focus#code) | nothing outside this file |
| [`image.bma`](/cran/BMS.md?fn=image.bma&view=focus#code) | nothing outside this file |
| [`info.bma`](/cran/BMS.md?fn=info.bma&view=focus#code) | nothing outside this file |
| [`is.bma`](/cran/BMS.md?fn=is.bma&view=focus#code) | nothing outside this file |
| [`is.topmod`](/cran/BMS.md?fn=is.topmod&view=focus#code) | nothing outside this file |
| [`logLik.zlm`](/cran/BMS.md?fn=logLik.zlm&view=focus#code) | nothing outside this file |
| [`lps.bma`](/cran/BMS.md?fn=lps.bma&view=focus#code) | nothing outside this file |
| [`model.frame.bma`](/cran/BMS.md?fn=model.frame.bma&view=focus#code) | nothing outside this file |
| [`plot.bma`](/cran/BMS.md?fn=plot.bma&view=focus#code) | nothing outside this file |
| [`plot.pred.density`](/cran/BMS.md?fn=plot.pred.density&view=focus#code) | nothing outside this file |
| [`plotComp`](/cran/BMS.md?fn=plotComp&view=focus#code) | nothing outside this file |
| [`plotConv`](/cran/BMS.md?fn=plotConv&view=focus#code) | nothing outside this file |
| [`plotModelsize`](/cran/BMS.md?fn=plotModelsize&view=focus#code) | nothing outside this file |
| [`pmpmodel`](/cran/BMS.md?fn=pmpmodel&view=focus#code) | nothing outside this file |
| [`post.pr2`](/cran/BMS.md?fn=post.pr2&view=focus#code) | nothing outside this file |
| [`post.var`](/cran/BMS.md?fn=post.var&view=focus#code) | nothing outside this file |
| [`pred.density`](/cran/BMS.md?fn=pred.density&view=focus#code) | nothing outside this file |
| [`predict.bma`](/cran/BMS.md?fn=predict.bma&view=focus#code) | nothing outside this file |
| [`predict.zlm`](/cran/BMS.md?fn=predict.zlm&view=focus#code) | nothing outside this file |
| [`print.bma`](/cran/BMS.md?fn=print.bma&view=focus#code) | nothing outside this file |
| [`print.pred.density`](/cran/BMS.md?fn=print.pred.density&view=focus#code) | nothing outside this file |
| [`print.topmod`](/cran/BMS.md?fn=print.topmod&view=focus#code) | nothing outside this file |
| [`quantile.coef.density`](/cran/BMS.md?fn=quantile.coef.density&view=focus#code) | nothing outside this file |
| [`quantile.density`](/cran/BMS.md?fn=quantile.density&view=focus#code) | nothing outside this file |
| [`quantile.pred.density`](/cran/BMS.md?fn=quantile.pred.density&view=focus#code) | nothing outside this file |
| [`summary.bma`](/cran/BMS.md?fn=summary.bma&view=focus#code) | nothing outside this file |
| [`summary.zlm`](/cran/BMS.md?fn=summary.zlm&view=focus#code) | nothing outside this file |
| [`topmod`](/cran/BMS.md?fn=topmod&view=focus#code) | nothing outside this file |
| [`topmodels.bma`](/cran/BMS.md?fn=topmodels.bma&view=focus#code) | nothing outside this file |
| [`variable.names.bma`](/cran/BMS.md?fn=variable.names.bma&view=focus#code) | nothing outside this file |
| [`variable.names.zlm`](/cran/BMS.md?fn=variable.names.zlm&view=focus#code) | nothing outside this file |
| [`vcov.zlm`](/cran/BMS.md?fn=vcov.zlm&view=focus#code) | nothing outside this file |


1 file with no calls to or from another: `R/zzz.R`.

The whole package has 94 function names in 4 files and 109 calls between them. Most calls between files: `R/aux_inner.R` and `R/bma.R` (8 calls), `R/aux_inner.R` and `R/aux_outer.R` (5 calls), `R/aux_outer.R` and `R/bma.R` (4 calls).

Graph: the whole call graph has 75 function names that take part in a call and 109 calls between them, set out in 6 layers with callers before what they call. 19 function names have no calls and are left out. Called by the most functions: `is.bma` (22), `pmp.bma` (9), `.adjustdots` (7), `estimates.bma` (6), `.hexcode.binvec.convert` (5). Calling the most functions: `bms` (12), `pred.density` (5), `plotConv` (4), `image.bma` (4), `pmpmodel` (4).

Most connected functions: [`is.bma`](/cran/BMS.md?fn=is.bma&view=focus#code) 22, [`bms`](/cran/BMS.md?fn=bms&view=focus#code) 12, [`pmp.bma`](/cran/BMS.md?fn=pmp.bma&view=focus#code) 11, [`estimates.bma`](/cran/BMS.md?fn=estimates.bma&view=focus#code) 8, [`.adjustdots`](/cran/BMS.md?fn=.adjustdots&view=focus#code) 7, [`pred.density`](/cran/BMS.md?fn=pred.density&view=focus#code) 6

To select another function, add ?fn=NAME to this address.

The call graph also has an address of its own: /cran/BMS/graph.md?fn=pmp.bma&view=focus

- Functions: 94
- Public exports: 24
- Lines of R code: 6,845
- Median complexity: 3.5

**Functions (94)**

| Function (sorted, low to high) | Kind | File | Lines | Complexity |
| --- | --- | --- | ---: | ---: |
| [`as.zlm`](/cran/BMS.md?fn=as.zlm#code) | Public | R/aux_outer.R | 36 | 17 |
| [`beta.draws.bma`](/cran/BMS.md?fn=beta.draws.bma#code) | Public | R/aux_outer.R | 13 | 3 |
| [`bin2hex`](/cran/BMS.md?fn=bin2hex#code) | Public | R/aux_outer.R | 8 | 4 |
| [`bms`](/cran/BMS.md?fn=bms#code) | Public | R/bma.R | 414 | 60 |
| [`estimates.bma`](/cran/BMS.md?fn=estimates.bma#code) | Public | R/aux_outer.R | 19 | 4 |
| [`f21hyper`](/cran/BMS.md?fn=f21hyper#code) | Public | R/aux_outer.R | 9 | 5 |
| [`fullmodel.ssq`](/cran/BMS.md?fn=fullmodel.ssq#code) | Public | R/aux_outer.R | 24 | 2 |
| [`gdensity`](/cran/BMS.md?fn=gdensity#code) | Public | R/aux_outer.R | 147 | 22 |
| [`hex2bin`](/cran/BMS.md?fn=hex2bin#code) | Public | R/aux_outer.R | 7 | 2 |
| [`info.bma`](/cran/BMS.md?fn=info.bma#code) | Public | R/aux_outer.R | 59 | 8 |
| [`is.bma`](/cran/BMS.md?fn=is.bma#code) | Public | R/aux_outer.R | 4 | 2 |
| [`is.topmod`](/cran/BMS.md?fn=is.topmod#code) | Public | R/aux_outer.R | 4 | 2 |

This page lists 1 to 12 of 94 functions. [Next](/cran/BMS.md?sort=name&order=asc&fpage=2#functions)

**Size and composition**

#### Lines by kind (10,509)

| Kind | Lines | Share |
| --- | ---: | ---: |
| R code | 6,845 | 65% |
| Documentation | 2,986 | 28% |
| Guides | 678 | 6% |

#### Lines by language

| Language | Lines | Share |
| --- | ---: | ---: |
| R | 6,845 | 65% |
| Rd | 2,986 | 28% |
| Vignettes | 556 | 5% |
| Other | 122 | 1% |

Languages are counted from file extensions.

- Files: 59
- R functions: 94
- Object systems: S3: 26 methods, S4: 5 classes

**Complexity**

- Median: 3.5
- Mean: 7.52
- Highest: 60
- Median lines per function: 18

_About complexity: Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only._

**Call graph figures**

- R functions: 94
- Calls: 109
- Unconnected: 19
- Groups: 5

**Growth (7 releases)**

Total lines by release: from 5,095 (on 26 Jul 2010) to 10,509 (on 9 Aug 2022). The lowest is 5,095 and the highest is 10,509.

**Release changes**

[Both releases side by side](/cran/BMS/compare/0.3.4...0.3.5.md)

**0.3.4 to 0.3.5**, 24 Nov 2015 to 9 Aug 2022

- Files changed: 120
- Lines added: 9,314
- Lines deleted: 6,537
- Exports: 0 added, 4 removed

**Exports removed (4)**

- `combine_chains`
- `quantile.coef.density`
- `quantile.density`
- `quantile.pred.density`

**Changed measures (22)**

| Measure | Subject | Before | After |
| --- | --- | ---: | ---: |
| Public exports | Structure | 28 | 24 |
| Internal functions | Structure | 0 | 63 |
| Total lines | Structure | 7,565 | 10,509 |
| Lines of R code | Structure | 4,298 | 6,845 |
| R functions | Languages | 96 | 94 |
| Lines of documentation | Documentation | 2,628 | 2,986 |
| Help pages citing references | Documentation | 63% | 21% |
| Help pages with examples (share) | Documentation | 98% | 90% |
| Help pages with examples | Documentation | 42 | 35 |
| Arguments documented | Documentation | 95% | 99.3% |
| Return value documented | Documentation | 83% | 86% |
| Mean complexity | Complexity | 7.53 | 7.52 |
| Highest complexity | Complexity | 61 | 60 |
| Median complexity | Complexity | 4 | 3.5 |
| Lines per function (mean) | Complexity | 43.46 | 42.25 |
| Functions (nodes) | Call graph | 96 | 94 |
| Call edges | Call graph | 112 | 109 |
| Mean connections | Call graph | 2.33 | 2.32 |
| Functions with no connections | Call graph | 17 | 19 |
| Separate groups | Call graph | 6 | 5 |
| S4 classes | Object system | 0 | 5 |
| Uses of another package's private parts (:::) | Patterns | 0 | 1 |

**Most changed files (12 of 120)**

| File | Lines added | Lines deleted |
| --- | ---: | ---: |
| `R/aux_outer.R` | 4,687 | 0 |
| `R/BMS-internal.R` | 0 | 1,593 |
| `R/aux_inner.R` | 1,043 | 0 |
| `R/bma.R` | 843 | 0 |
| `man/bms.Rd` | 271 | 143 |
| `R/pred.density.R` | 0 | 396 |
| `R/bms.R` | 0 | 378 |
| `R/density.bma.R` | 0 | 266 |
| `R/zzz.R` | 195 | 30 |
| `man/density.bma.Rd` | 115 | 63 |
| `MD5` | 58 | 110 |
| `inst/doc/bmsmanual.R` | 109 | 59 |

Datasets: 1 added, 1 changed.

## Tests

[Method](/about/coverage.md)

The package was built and has no tests to run.

- Lines of tests: 0
- Exports named in tests: 0%

**Test suite**

- Has tests: No
- Test frameworks: No tests in this release
- Test lines per line of code: 0

## Documentation

[Method](/about/code-metrics.md)

- Exports documented: 100%
- Arguments documented: 99.3%
- Return value documented: 85.7%
- Help pages with examples: 89.7%
- Examples run in checks: 100%

**Guides (1)**

- [Bayesian Model Averaging with BMS](https://cran.r-project.org/web/packages/BMS/vignettes/bmsmanual.pdf)

**Other documentation**

- README: No
- Release notes file: Yes
- Help pages: 39
- Lines of documentation: 2,986

## Datasets

[Method](/about/objects.md)

2 datasets, 1 can be loaded by name

| Dataset | Size | Columns |
| --- | --- | --- |
| [datafls](/cran/BMS/data/datafls.md), FLS (2001) growth data | 72 × 42 | y, Abslat, Spanish, French, Brit, WarDummy and 36 more |
| [.flsresults](/cran/BMS/data/.flsresults.md) | length 5 |  |

## People

[Method](/about/author-identity.md)

- [Stefan Zeugner](/people/Stefan+Zeugner.md): Maintainer since 0.2.4 (2010)
- [Martin Feldkircher](/people/Martin+Feldkircher.md)
- [Paul Hofmarcher](/people/Paul+Hofmarcher.md)

## Repository

[Method](/about/repo-signals.md#figures)

No repository on record

## History

[Method](/about/archive.md)

The line runs from the first release of BMS on 26 Jul 2010 to 26 Oct 2026 and marks all 7 of its releases. CRAN archived it once, and it came back once.

#### Archived and back

| Archived | Back | CRAN's reason | Kind |
| --- | --- | --- | --- |
| 26 Apr 2022 | 9 Aug 2022 | "email to the maintainer was undeliverable. Also 'coercion to logical(1)' issue" | Maintainer unreachable |

| Version | Released | R | Events |
| --- | --- | ---: | --- |
| [0.3.5](/cran/BMS/v/0.3.5.md) current | 9 Aug 2022 | 4.2.1 | Back on CRAN 9 Aug 2022. Licence: BSD_3_clause + file LICENSE |
| [0.3.4](/cran/BMS/v/0.3.4.md) | 24 Nov 2015 | 3.2.2 | Archived 26 Apr 2022. “email to the maintainer was undeliverable. Also 'coercion to logical(1)' issue” |
| [0.3.3](/cran/BMS/v/0.3.3.md) | 22 Nov 2013 | 3.0.2 |  |
| [0.3.1](/cran/BMS/v/0.3.1.md) | 5 Sep 2012 | 2.15.1 |  |
| [0.3.0](/cran/BMS/v/0.3.0.md) | 5 May 2011 | 2.13.0 |  |
| [0.2.5](/cran/BMS/v/0.2.5.md) | 30 Jul 2010 | 2.11.1 |  |
| [0.2.4](/cran/BMS/v/0.2.4.md) | 26 Jul 2010 | 2.11.1 |  |

Relicensed from Artistic-2.0 in version 0.3.5.

**Release notes (0.3.5)**

Last build 2022-08-05. Rebuilding package with modern means in order to prepare expansion of package.

Coding started in Jan 2022, fixing small issues...

**Main changes**

- License changed from artistic to BSD3
- Co-author added: Paul Hofmarcher, maintainer email changed.
- Source coude released at github: github.com/zeugner/BMS, no with roxygen documentation
- For issues, check bms.zeugner.eu

*

**Bug fixes**

- `bms()`: Fixed numerical tolerance bugs relating to enumeration over datasets with 1000+ observations
- Fixed coercion to logical(1) issue
- Reduced file size of bma objects somewhat

---

R Observatory is independent of the R Project, CRAN and Bioconductor. The same page for people is at /cran/BMS, and every address is listed at /llms.txt.
