To cite package ‘hitandrun’ in publications use:

van Valkenhoef G, Tervonen T (2022). hitandrun: "Hit and Run" and "Shake and Bake" for Sampling Uniformly from Convex Shapes. R package version 0.5-6, https://github.com/gertvv/hitandrun.

Corresponding BibTeX entry:

  @Manual{,
    title = {hitandrun: "Hit and Run" and "Shake and Bake" for Sampling
      Uniformly from Convex Shapes},
    author = {Gert {van Valkenhoef} and Tommi Tervonen},
    year = {2022},
    note = {R package version 0.5-6},
    url = {https://github.com/gertvv/hitandrun},
  }