Helper functions for use of hash-based matching (HBM) for pseudo-random number generation (PRNG) in stochastic simulations. HBM-PRNG is an approach to simplify matching synthetic experiment samples, which ensures that matched runs different only in the focal parameters, not in their chance events.
This README is a good place to get started with hashprng, in
particular the following installation and quick start sections. As you
make use of the package, or if your problem requires a richer feature
set than presented here, we also provide a range of other reosources.
main branch on GitHub) is
available here.Install the development version (whilst we strive to limit breaking changes or the introduction of bugs during development this version may contain both) from GitHub using the following,
remotes::install_github("epinowcast/hashprng", dependencies = TRUE)
In this quick start …
If you use hashprng in your work, please consider citing it using the
following,
#> Warning in citation("hashprng"): no date field in DESCRIPTION file of package
#> 'hashprng'
#> Warning in citation("hashprng"): could not determine year for 'hashprng' from
#> package DESCRIPTION file
#>
#> To cite package 'hashprng' in publications use:
#>
#> Pearson C (????). _hashprng: Hash-Based Matching Pseudo-Random Number
#> Generation_. R package version 0.2.0.1000.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {hashprng: Hash-Based Matching Pseudo-Random Number Generation},
#> author = {Carl Pearson},
#> note = {R package version 0.2.0.1000},
#> }
Please briefly describe your problem and what output you expect in an issue. If you have a question, please don’t open an issue. Instead, ask on our Q and A page. See our contributing guide for more information.
We welcome contributions and new contributors! We particularly appreciate help on priority problems in the issues. Please check and add to the issues, and/or add a pull request. See our contributing guide for more information.
Please note that the hashprng project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.