unimix {ashr} | R Documentation |
Constructor for unimix class
Description
Creates an object of class unimix (finite mixture of univariate uniforms)
Usage
unimix(pi, a, b)
Arguments
pi |
vector of mixture proportions |
a |
vector of left hand ends of uniforms |
b |
vector of right hand ends of uniforms |
Details
None
Value
an object of class unimix
Examples
unimix(c(0.5,0.5),c(0,0),c(1,2))
[Package ashr version 2.2-63 Index]