Package: hitandrun 0.5-6

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.zip(r-4.5)hitandrun_0.5-6.zip(r-4.4)hitandrun_0.5-6.zip(r-4.3)
hitandrun_0.5-6.tgz(r-4.5-x86_64)hitandrun_0.5-6.tgz(r-4.5-arm64)hitandrun_0.5-6.tgz(r-4.4-x86_64)hitandrun_0.5-6.tgz(r-4.4-arm64)hitandrun_0.5-6.tgz(r-4.3-x86_64)hitandrun_0.5-6.tgz(r-4.3-arm64)
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://gertvv.r-universe.dev', 'https://cloud.r-project.org'))

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

Uses libs:
  • openblas– Optimized BLAS

On CRAN:

Conda:

openblas

6.92 score 16 stars 9 packages 121 scripts 1.6k downloads 1 mentions 31 exports 1 dependencies

Last updated 3 years agofrom:e19dfd7cce. Checks:12 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 13 2025
R-4.5-win-x86_64OKMar 13 2025
R-4.5-mac-x86_64OKMar 13 2025
R-4.5-mac-aarch64OKMar 13 2025
R-4.5-linux-x86_64OKMar 13 2025
R-4.4-win-x86_64OKMar 13 2025
R-4.4-mac-x86_64OKMar 13 2025
R-4.4-mac-aarch64OKMar 13 2025
R-4.4-linux-x86_64OKMar 13 2025
R-4.3-win-x86_64OKMar 13 2025
R-4.3-mac-x86_64OKMar 13 2025
R-4.3-mac-aarch64OKMar 13 2025

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

Dependencies:rcdd