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