unimix: Constructor for unimix class

View source: R/unimix.R

unimixR 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))

stephens999/ashr documentation built on May 16, 2024, 3:10 a.m.