Learn R Programming

ashr (version 2.2-63)

igmix: Constructor for igmix class

Description

Creates an object of class igmix (finite mixture of univariate inverse-gammas)

Usage

igmix(pi, alpha, beta)

Value

an object of class igmix

Arguments

pi

vector of mixture proportions

alpha

vector of shape parameters

beta

vector of rate parameters

Details

None

Examples

Run this code
igmix(c(0.5,0.5),c(1,1),c(1,2))

Run the code above in your browser using DataLab