comp_cdf function

Generic function of computing the cdf for each component

Generic function of computing the cdf for each component

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

Returns

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

  • Maintainer: Peter Carbonetto
  • License: GPL (>= 3)
  • Last published: 2023-08-21