hitandrun
0.5-6"Hit and Run" and "Shake and Bake" for Sampling Uniformly from Convex Shapes
Overview
The "Hit and Run" Markov Chain Monte Carlo method for sampling uniformly from convex shapes defined by linear constraints, and the "Shake and Bake" method for sampling from the boundary of such shapes. Includes specialized functions for sampling normalized weights with arbitrary linear constraints. Tervonen, T., van Valkenhoef, G., Basturk, N., and Postmus, D. (2012) doi:10.1016/j.ejor.2012.08.026. van Valkenhoef, G., Tervonen, T., and Postmus, D. (2014) doi:10.1016/j.ejor.2014.06.036.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE2026-07-1611 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- References docs
- 14%
Downloads
Repository
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/gertvv/hitandrun on 2026-08-23.
Dependencies
Code & Tests
People & History
14 releases. Pick two to compare their code metrics. R releases are shown for context.
- 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
- 0.5-6Latest
- unarchivedReturned to CRAN2022-05-27
- archivedRemoved from CRAN2022-05-21check issues were not corrected in time
- 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
- 0.5-52019-01-08 · diff ↗
- 0.5-42018-05-21 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.5-32016-12-23 · diff ↗
Show 16 earlier events
- RR 3.3.0 released · 2016-05-03
- 0.5-22015-07-10 · diff ↗
- 0.5-12015-04-19 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.52015-01-06 · diff ↗
- 0.4-22014-08-05 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.4-12014-01-14 · diff ↗
- 0.42013-11-27 · diff ↗
- 0.32013-10-31 · diff ↗
- 0.2-22013-08-22 · diff ↗
- 0.2-12013-07-11 · diff ↗
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 0.22012-01-10
- RR 2.14.0 released · 2011-10-31
Package metadata
- First published
- 2012-01-10
- Total releases
- 14 / 14 yrs
- License
- GPL-3 OSI
- Download size
- 38 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("hitandrun")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.