Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

unimix

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

ashr

Methods for Adaptive Shrinkage, using Empirical Bayes

v2.2-47
GPL (>= 3)
Authors
Matthew Stephens [aut], Peter Carbonetto [aut, cre], Chaoxing Dai [ctb], David Gerard [aut], Mengyin Lu [aut], Lei Sun [aut], Jason Willwerscheid [aut], Nan Xiao [aut], Mazon Zeng [ctb]
Initial release
2020-02-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.