comp_dens: Generic function of calculating the component densities of...

View source: R/mix.R

comp_densR Documentation

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)

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

Value

A k by n matrix of densities


stephens999/ashr documentation built on May 16, 2024, 3:10 a.m.