Skip to content

metropolis

0.1.8

The Metropolis Algorithm

0packages depend
2.4Kdownloads / year
49.7%test coverage
13/13checks pass

Overview

About
Maintained by Alexander KeilFirst published 2020-01-232 releasesCRAN page ↗

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-10
    14 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
Compare downloads with other packages →
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
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.8Latest
    2020-09-21 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.5
    2020-01-23
  • R
    R 3.6.0 released · 2019-04-26

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
Report a problem with this page →