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


ashr documentation built on Aug. 22, 2023, 1:07 a.m.