comp_cdf: Generic function of computing the cdf for each component
Description
Generic function of computing the cdf for each component
Usage
comp_cdf(m, y, lower.tail = TRUE)
Value
it returns a vector of probabilities, with length equals to
number of components in m
Arguments
- m
a mixture (eg of type normalmix or unimix)
- y
locations at which cdf to be computed
- lower.tail
boolean indicating whether to report lower tail