comp_mean: Generic function of calculating the first moment of...

View source: R/mix.R

comp_meanR Documentation

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.


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