Other packages > Find by keyword >

hitandrun  

"Hit and Run" and "Shake and Bake" for Sampling Uniformly from Convex Shapes
View on CRAN: Click here


Download and install hitandrun package within the R console
Install from CRAN:
install.packages("hitandrun")

Install from Github:
library("remotes")
install_github("cran/hitandrun")

Install by package version:
library("remotes")
install_version("hitandrun", "0.5-6")



Attach the package and use:
library("hitandrun")
Maintained by
Gert van Valkenhoef
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2012-01-10
Latest Update: 2022-05-27
Description:
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) .
How to cite:
Gert van Valkenhoef (2012). hitandrun: "Hit and Run" and "Shake and Bake" for Sampling Uniformly from Convex Shapes. R package version 0.5-6, https://cran.r-project.org/web/packages/hitandrun. Accessed 07 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:47), 0.2-1 (2013-07-11 14:41), 0.2-2 (2013-08-22 11:04), 0.2 (2012-01-10 11:38), 0.3 (2013-10-31 15:04), 0.4-1 (2014-01-14 16:43), 0.4-2 (2014-08-05 00:27), 0.4 (2013-11-27 16:58), 0.5-1 (2015-04-19 16:31), 0.5-2 (2015-07-10 20:32), 0.5-3 (2016-12-23 11:57), 0.5-4 (2018-05-21 16:12), 0.5-5 (2019-01-08 20:30), 0.5 (2015-01-06 17:34)
Other packages that cited hitandrun R package
View hitandrun citation profile
Other R packages that hitandrun depends, imports, suggests or enhances
Complete documentation for hitandrun
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  
bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA