penloglik: Copied from ashr package because I need it and it is not...

Description Usage Arguments

Description

Copied from ashr package because I need it and it is not exported.

Usage

1
penloglik(pi, matrix_lik, prior)

Arguments

pi

A vector of porportions that sum to 1.

matrix_lik

The (i, j)th element of matrix_like is the contribution to the likelihood of the ith observation and the jth component.

prior

A vector of weights of the same length as pi.


dcgerard/stramash documentation built on May 15, 2019, 1:24 a.m.