Efficient Sampling on the Simplex
Overview
The SALTSampler package facilitates Monte Carlo Markov Chain (MCMC) sampling of random variables on a simplex. A Self-Adjusting Logit Transform (SALT) proposal is used so that sampling is still efficient even in difficult cases, such as those in high dimensions or with parameters that differ by orders of magnitude. Special care is also taken to maintain accuracy even when some coordinates approach 0 or 1 numerically. Diagnostic and graphic functions are included in the package, enabling easy assessment of the convergence and mixing of the chain within the constrained space.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Scott Vander Wiel <scottv@lanl.gov>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Hannah",
family = "Director",
role = "aut"),
person(given = c("Scott", "Vander"),
family = "Wiel",
role = c("aut", "cre"),
email = "scottv@lanl.gov"),
person(given = "James",
family = "Gattiker",
role = "aut"))
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 10includes a package overview page
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 10%
Downloads
Dependencies
Installing SALTSampler adds no packages beyond those that come with R.
Code & Tests
People & History
Maintainer since 0.1 (2015)
Pick two releases to compare their code metrics.
- 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
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.1.0Latest
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.12015-11-03
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-11-03
- Total releases
- 2 / 11 yrs
- License
- BSD_3_clause + file LICENSE OSI
- Minimum R
- ≥ 3.0.0
- Download size
- 16 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SALTSampler")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.