"Hit and Run" and "Shake and Bake" for Sampling Uniformly from Convex Shapes

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) . van Valkenhoef, G., Tervonen, T., and Postmus, D. (2014) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("hitandrun")

0.5-6 by Gert van Valkenhoef, 4 years ago


https://github.com/gertvv/hitandrun


Browse source code at https://github.com/cran/hitandrun


Authors: Gert van Valkenhoef [aut, cre, cph] , Tommi Tervonen [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports rcdd, stats

Suggests testthat


Imported by brisk, hypervolume.

Suggested by PCRA, smaa.


See at CRAN