Learn R Programming

ashr (version 2.2-63)

mixcdf: mixcdf

Description

Returns cdf for a mixture (generic function)

Usage

mixcdf(x, y, lower.tail = TRUE)

Value

an object of class normalmix

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

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