Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ashr (version 0.9)

comp_cdf: Generic function of computing the cdf for each component

Description

Generic function of computing the cdf for each component

Usage

comp_cdf(x, y, lower.tail = TRUE)

Arguments

x
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

Value

it returns a vector of probabilities, with length equals to number of components in x