normalmix: Constructor for normalmix class

View source: R/normalmix.R

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


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