dchern(x, log = FALSE)
pchern(q, lower.tail = TRUE, log.p = FALSE)
qchern(p, lower.tail = TRUE, log.p = FALSE)
rchern(n)TRUE, probabilities p are given as log(p).TRUE (default), probabilities are
$P[X \le x]$, otherwise, $P[X > x]$.dchern gives the density, pchern gives the distribution
function, qchern gives the quantile function and rchern
generates random deviates.pchern, qchern, and rchern are *very* slow.dchern, pchern and qchern are calculated
from the C code due to Groeneboom and Wellner (2001).naive
mode estimator), see Chernoff (1964).mlv for general mode estimation;
naive for the Chernoff mode estimate;
distribMode for computation of the mode of the classical distributionsdchern(seq(0.1,0.9,0.1))
curve(dchern(x), xlim = c(-2,2))Run the code above in your browser using DataLab