Learn R Programming

SSPA (version 2.12.0)

pbitri: Distribution function for a bi-triangular random variable.

Description

Distribution function for a bi-triangular random variable.

Usage

pbitri(q, a = log2(1.2), b = log2(4), m = log2(2))

Arguments

q
vector of quantiles.
a
location of point, ... Default a = log2(1.2).
b
location of point, ... Default b = log2(4).
m
location of the midpoint of the triangle. Default m = log2(2).

Value

Gives the distribution function.

Details

For more details see M. Langaas et al. JRSS B 2005.

Examples

Run this code
curve(pbitri, -4, 4)

Run the code above in your browser using DataLab