Skip to content

SANple

Fitting Shared Atoms Nested Models via Markov Chains Monte Carlo

v0.2.0 · Sep 24, 2025 · MIT + file LICENSE

Description

Estimate Bayesian nested mixture models via Markov Chain Monte Carlo methods. Specifically, the package implements the common atoms model (Denti et al., 2023), and hybrid finite-infinite models. All models use Gaussian mixtures with a normal-inverse-gamma prior distribution on the parameters. Additional functions are provided to help analyzing the results of the fitting procedure. References: Denti, Camerlenghi, Guindani, Mira (2023) <doi:10.1080/01621459.2021.1933499>, D’Angelo, Denti (2024) <doi:10.1214/24-BA1458>.

Downloads

20.2K

Last 30 days

868th

43.5K

Last 90 days

116.3K

Last year

Trend: +55.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies scales RColorBrewer Rcpp salso SANple

Version History

new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.1 diff Sep 23, 2025
updated 0.1.1 ← 0.1.0 diff Jun 1, 2024
new 0.1.0 Oct 9, 2023