rdu: The Discrete Uniform Distribution

Description Usage Arguments Value Examples

View source: R/rdu.R

Description

rdu generates a random sample of size n from a discrete uniform distribution on the interval min to max.

Usage

1
rdu(n, min, max)

Arguments

n

number of observations.

min

lower limit of the distribution.

max

upper limit of the distribution.

Value

A length n numeric vector of realizations from a DU(min, max) distribution.

Examples

1
N = rdu(n = 50, min = 10000, max = 15000)

rebeccadeek/zinLDA documentation built on Dec. 31, 2020, 3:02 a.m.