Learn R Programming

ashr (version 0.9)

comppostprob: comppostprob

Description

compute the posterior prob that each observation came from each component of the mixture m,output a k by n vector of probabilities computed by weighting the component densities by pi and then normalizing

Usage

comppostprob(m, x, s, v)

Arguments

m
mixture distribution
x
an n vector
s
an n vector or integer
v
degree of freedom of error distribution