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


ashr documentation built on Aug. 22, 2023, 1:07 a.m.