comp_dens {ashr}R 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


[Package ashr version 2.2-63 Index]