Learn R Programming

ashr (version 2.2-63)

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

Value

it returns scalar, the mean of the mixture distribution.

Arguments

m

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