Package: hbamr Title: Hierarchical Bayesian Aldrich-McKelvey Scaling via 'Stan' Version: 2.4.7 Authors@R: person("Jørgen", "Bølstad", , "jorgen.bolstad@stv.uio.no", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7623-5741")) Description: 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) . License: GPL (>= 3) URL: https://jbolstad.github.io/hbamr/ BugReports: https://github.com/jbolstad/hbamr/issues Depends: R (>= 3.4.0) Imports: colorspace, dplyr, future, future.apply, ggplot2, loo, matrixStats, methods, parallel, plyr, progressr, RColorBrewer, Rcpp (>= 1.0.7), RcppParallel (>= 5.1.4), rlang, rstan (>= 2.26.1), rstantools (>= 2.2.0), stats, tidyr Suggests: data.table, knitr, rmarkdown LinkingTo: BH (>= 1.66.0), Rcpp (>= 1.0.7), RcppEigen (>= 0.3.3.9.1), RcppParallel (>= 5.1.4), rstan (>= 2.26.1), StanHeaders (>= 2.26.22) Biarch: true Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 SystemRequirements: GNU make VignetteBuilder: knitr Config/pak/sysreqs: cmake make libicu-dev Repository: https://jbolstad.r-universe.dev Date/Publication: 2026-09-03 07:32:42 UTC RemoteUrl: https://github.com/jbolstad/hbamr RemoteRef: HEAD RemoteSha: b7f6db10443cd476279ec1ccf8664b6d3b21cb27 NeedsCompilation: no Packaged: 2026-09-26 10:15:21 UTC; root Author: Jørgen Bølstad [aut, cre] (ORCID: ) Maintainer: Jørgen Bølstad