Learn R Programming

ashr (version 0.9.2)

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

Value

an object of class normalmix

Details

None

Examples

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

Run the code above in your browser using DataLab