trapezoid2empirical: returns the /empirical/ associated to a trapezoid...

Description Usage Arguments Details Value Examples

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

Description

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

Usage

1
trapezoid2empirical(a=-1, b=-0.5, c=0.5, d=1, des=NULL)

Arguments

a

Minimal value

b

Beginning of the mode interval

c

Ending of the mode interval

d

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(trapezoid2empirical(1, 5, 6, 6), what="d");

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