rdunif

0th

Percentile

Generate random samples from a discrete uniform distribution

Generate random samples from a discrete uniform distribution

Usage
rdunif(n, b, a = 1)
Arguments
n

Number of samples to draw.

a, b

Range of the distribution (inclusive).

Aliases
  • rdunif
Examples
# NOT RUN {
table(rdunif(1e3, 10))
# }
Documentation reproduced from package purrr, version 0.2.2.2, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.