metropolis
0.1.8The Metropolis Algorithm
0packages depend
2.4Kdownloads / year
49.7%test coverage
13/13checks pass
Overview
About
Learning and using the Metropolis algorithm for Bayesian fitting of a generalized linear model. The package vignette includes examples of hand-coding a logistic model using several variants of the Metropolis algorithm. The package also contains R functions for simulating posterior distributions of Bayesian generalized linear model parameters using guided, adaptive, guided-adaptive and random walk Metropolis algorithms. The random walk Metropolis algorithm was originally described in Metropolis et al (1953); doi:10.1063/1.1699114.
Install
Health
CRAN checks
13OK
Slowest check: 3.7 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.04
49.7%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 0 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 80%
- Documented parameters
- 98%
- Return-value docs
- 67%
- References docs
- 0%
Downloads
2.4K
CRAN downloads in the past year
Rank #16,371 · ~7/day · ~200/mo
Daily download trend is not available in this view yet.
23530 days
70090 days
2.4K1 year
Also on94 r2u34 autocran
Dependencies
Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0coda
Imports (1)
stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Datasets
People & History
Package Timeline
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 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
- 0.1.8Latest
- RR 4.0.0 released · 2020-04-24
- 0.1.52020-01-23
- RR 3.6.0 released · 2019-04-26
0 of 2 selectedCompare selected
Package metadata
- First published
- 2020-01-23
- Total releases
- 2 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 0.2 KB / 1 file
- Download size
- 621 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet