comp_mean function

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

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

comp_mean(m)

Arguments

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

Returns

it returns a vector of means.

  • Maintainer: Peter Carbonetto
  • License: GPL (>= 3)
  • Last published: 2023-08-21