triangular2empirical: returns the /empirical/ associated to a triangular...

Description Usage Arguments Details Value Examples

View source: R/f3.rbsb4.code.r

Description

This function returns the /empirical/ object corresponding to the triangular distribution where a is the minimum value, b is the mode value and c is the maximum value.

Usage

1
triangular2empirical(a=-1, b=0, c=1, des=NULL)

Arguments

a

Minimal value

b

Most probable value

c

Maximal value

des

/des/ to give to the object, when NULL a standard description will be provided.

Details

The resulting object is normalized.

Value

An /empirical/ object.

Examples

1
2
 rbsb3k("RESET"); # for R checking compliance (useless)
 plot(triangular2empirical(1, 5, 6), what="d");

rbsb documentation built on May 31, 2017, 1:45 a.m.