daqana/dqsample: Bias-Free Alternative to R's 'sample' Function

The 'base::sample' function uses a slightly biased algorithm for creating random integers within a given range. As an alternative the algorithm suggested by Daniel Lemire (2018, <arXiv:1805.1094>) is used.

Getting started

Package details

Maintainer
LicenseGPL (>= 2)
Version0.0.1
URL https://www.daqana.org/dqsample https://github.com/daqana/dqsample
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("daqana/dqsample")
daqana/dqsample documentation built on Oct. 11, 2018, 10:19 a.m.