mixcdf function

mixcdf

mixcdf

Returns cdf for a mixture (generic function)

mixcdf(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

Returns

an object of class normalmix

Details

None

Examples

mixcdf(normalmix(c(0.5,0.5),c(0,0),c(1,2)),seq(-4,4,length=100))
  • Maintainer: Peter Carbonetto
  • License: GPL (>= 3)
  • Last published: 2023-08-21