Skip to content

hbamr

2.4.7

Hierarchical Bayesian Aldrich-McKelvey Scaling via 'Stan'

0packages depend
4.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Jørgen BølstadFirst published 2023-03-1421 releasesCRAN page ↗GitHub ↗

Perform hierarchical Bayesian Aldrich-McKelvey scaling using Hamiltonian Monte Carlo via 'Stan'. Aldrich-McKelvey ('AM') scaling is a method for estimating the latent positions of survey respondents and external objects on a common scale using positional survey data. The hierarchical versions of the Bayesian 'AM' model included in this package outperform other versions both in terms of yielding meaningful posterior distributions for respondent positions and in terms of recovering true respondent positions in simulations. The package contains functions for preparing data, fitting models, extracting estimates, plotting key results, and comparing models using cross-validation. The original version of the default model is described in Bølstad (2024) <doi:10.1017/pan.2023.18>.

Install

Health

CRAN checks
13OK
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
No
README
19
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

4.7K
CRAN downloads in the past year
Rank #7,343 · ~13/day · ~389/mo
70430 days
1.6K90 days
4.7K1 year
Also on457 r2u15 autocran
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4.0
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

7,361Lines of code
11Exported functions

Line coverage

Expression

Tests / Examples

Functions

33 11 exported

Complexity

4.7 avg / 17 max

Call network

33 nodes / 30 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Release timeline

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

  • 2.4.7Latest
    2026-06-23 · current release
  • 2.4.6
    2026-04-29 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.4.5
    2026-02-14 · diff ↗
  • 2.4.4
    2025-08-18 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.4.2
    2025-03-05 · diff ↗
  • 2.4.1
    2025-02-13 · diff ↗
  • 2.4.0
    2025-01-27 · diff ↗
  • 2.3.2
    2024-09-23 · diff ↗
  • 2.3.1
    2024-06-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.3.0
    2024-03-31 · diff ↗
  • 2.2.1
    2024-02-23 · diff ↗
  • 2.2.0
    2024-02-14 · diff ↗
  • 2.1.2
    2024-02-07 · diff ↗
Show 9 earlier events
  • 2.1.1
    2024-01-25 · diff ↗
  • 2.1.0
    2024-01-17 · diff ↗
  • 2.0.1
    2024-01-08 · diff ↗
  • 1.2.0
    2023-09-25 · diff ↗
  • 1.1.6
    2023-06-09 · diff ↗
  • 1.1.3
    2023-06-07 · diff ↗
  • 1.1.1
    2023-04-24 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.5
    2023-03-14

Package metadata

First published
2023-03-14
Total releases
21 / 3 yrs
License
GPL (>= 3) OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet