rdunif: Generate random sample from a discrete uniform distribution

View source: R/deprec-utils.R

rdunifR Documentation

Generate random sample from a discrete uniform distribution

Description

[Deprecated]

This function was deprecated in purrr 1.0.0 because it's not related to the core purpose of purrr.

Usage

rdunif(n, b, a = 1)

Arguments

n

Number of samples to draw.

a, b

Range of the distribution (inclusive).

Examples

table(rdunif(1e3, 10))
table(rdunif(1e3, 10, -5))

tidyverse/purrr documentation built on Nov. 7, 2023, 7:33 a.m.