comp_dens: Generic function of calculating the component densities of the
mixture
Description
Generic function of calculating the component densities of the
mixture
Usage
comp_dens(m, y, log = FALSE)
Value
A k by n matrix of densities
Arguments
- m
mixture of k components generated by normalmix() or
unimix() or igmix()
- y
is an n-vector of location
- log
whether to use log-scale on densities