cuts
and levels
.dpch(x, cuts, levels, log = FALSE)
ppch(q, cuts, levels, lower.tail = TRUE, log.p = FALSE)
qpch(p, cuts, levels, lower.tail = TRUE, log.p = FALSE)
hpch(x, cuts, levels, log = FALSE)
Hpch(x, cuts, levels, log.p = FALSE)
rpch(n, cuts, levels)
length(n) > 1
, the length
is taken to be the number required.cuts
devine the intervals where the hazard
function is constant. The cuts must be strictly positive and
finite. levels
are the interval-constant values, one more
than the cuts.dpch
gives the density,
ppch
gives the distribution function,
qpch
gives the quantile function,
hpch
gives the hazard function,
Hpch
gives the cumulative hazard function, and
rpch
generates random deviates.Invalid arguments will result in return value NaN
, with a warning.