Learn R Programming

ashr (version 1.0.12)

comp_cdf: 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