Learn R Programming

ashr (version 2.0.5)

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)

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

Value

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