R: Constructor for normalmix class

normalmix {ashr} | R Documentation

## Constructor for normalmix class

### Description

Creates an object of class normalmix (finite mixture of univariate normals)

### Usage

    normalmix(pi, mean, sd)

### Arguments

`pi` | vector of mixture proportions
`mean` | vector of means
`sd` | vector of standard deviations

### Details

None

### Value

an object of class normalmix

### Examples

    normalmix(c(0.5,0.5),c(0,0),c(1,2))

[Package ashr version 2.0.5 Index]