Learn R Programming

convdistr (version 1.6.1)

UNIFORM: Factory for a UNIFORM distribution object

Description

Returns an UNIFORM distribution object that produce random numbers from a uniform distribution using the runif function

Usage

new_UNIFORM(p_min, p_max, p_dimnames = "rvar")

Value

An object of class DISTRIBUTION, UNIFORM

Arguments

p_min

A numeric that represents the lower limit

p_max

A numeric that represents the upper limit

p_dimnames

A character that represents the name of the dimension

Author

John J. Aponte

Examples

Run this code
myDistr <- new_UNIFORM(0,1)
myDistr$rfunc(10)

Run the code above in your browser using DataLab