Learn R Programming

ashr (version 1.0.12)

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