Learn R Programming

ashr (version 0.9)

compdens_conv: compdens_conv

Description

compute the density of the components of the mixture m when convoluted with a normal with standard deviation s or a scaled (se) student.t with df v, the density is evaluated at x

Usage

compdens_conv(m, x, s, v, FUN = "+")

Arguments

m
mixture distribution
x
an n vector
s
an n vector or integer
v
degree of freedom of error distribution
FUN
default is "+"

Value

a k by n matrix of densities