Learn R Programming

ashr (version 2.0.5)

comp_mean2: Generic function of calculating the second moment of components of the mixture

Description

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

Usage

comp_mean2(m)

Arguments

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

Value

it returns a vector of second moments.