mixcdf: mixcdf

View source: R/mix.R

mixcdfR Documentation

mixcdf

Description

Returns cdf for a mixture (generic function)

Usage

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

Details

None

Value

an object of class normalmix

Examples

mixcdf(normalmix(c(0.5,0.5),c(0,0),c(1,2)),seq(-4,4,length=100))


ashr documentation built on Aug. 22, 2023, 1:07 a.m.