Learn R Programming

ashr (version 0.9.2)

comp_mean: Generic function of calculating the first moment of components of the mixture

Description

Generic function of calculating the first moment of components of the mixture

Usage

comp_mean(m)

Arguments

m
a mixture of k components generated by normalmix() or unimix() or igmix()

Value

it returns a vector of means.