Package: hitandrun 0.5-6

Gert van Valkenhoef

hitandrun: "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) <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>.

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

hitandrun_0.5-6.tar.gz
hitandrun_0.5-6.tar.gz(r-4.5-noble)hitandrun_0.5-6.tar.gz(r-4.4-noble)
hitandrun_0.5-6.tgz(r-4.4-emscripten)hitandrun_0.5-6.tgz(r-4.3-emscripten)
hitandrun.pdf |hitandrun.html
hitandrun/json (API)
NEWS

# Install 'hitandrun' in R:
install.packages('hitandrun', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gertvv/hitandrun/issues

Uses libs:
  • openblas– Optimized BLAS

openblas

3.64 score 9 packages 121 scripts 1.3k downloads 1 mentions 31 exports 1 dependencies

Last updated 3 years agofrom:f999355267. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64OKNov 25 2024

Exports:bbRejectcreateBoundBoxcreateSeedPointcreateTransformeliminateRedundantexactRatioConstraintfindExtremePointsfindFacefindInteriorPointfindVerticesharhar.inithar.runhitandrunhypersphere.samplelowerBoundConstraintlowerRatioConstraintmergeConstraintsordinalConstraintsabsab.initsab.runshakeandbakesimplex.createConstraintssimplex.createTransformsimplex.samplesimplexConstraintssolution.basistransformConstraintsupperBoundConstraintupperRatioConstraint

Dependencies:rcdd