UNIFORM {convdistr}R Documentation

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")

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

Value

An object of class DISTRIBUTION, UNIFORM

Author(s)

John J. Aponte

Examples

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

[Package convdistr version 1.6.2 Index]