calc_mixmean: Generic function of calculating the overall mean of the...

View source: R/mix.R

calc_mixmeanR Documentation

Generic function of calculating the overall mean of the mixture

Description

Generic function of calculating the overall mean of the mixture

Usage

calc_mixmean(m)

Arguments

m

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

Value

it returns scalar, the mean of the mixture distribution.


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