TRIANGULAR: Factory for a TRIANGULAR distribution object

Description Usage Arguments Value Author(s) Examples

Description

Returns an TRIANGULAR distribution object that produce random numbers from a triangular distribution using the rtriang function

Usage

1
new_TRIANGULAR(p_min, p_max, p_mode, p_dimnames = "rvar")

Arguments

p_min

A numeric that represents the lower limit

p_max

A numeric that represents the upper limit

p_mode

A numeric that represents the mode

p_dimnames

A character that represents the name of the dimension

Value

An object of class DISTRIBUTION, TRIANGULAR

Author(s)

John J. Aponte

Examples

1
2
myDistr <- new_TRIANGULAR(-1,1,0)
myDistr$rfunc(10)

convdistr documentation built on April 20, 2021, 9:06 a.m.