compute_loglik_from_matrix_and_pi: Compute the total loglikelihood from a matrix of...

View source: R/likelihoods_origdata.R

compute_loglik_from_matrix_and_piR Documentation

Compute the total loglikelihood from a matrix of log-likelihoods and fitted pi

Description

This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.

Usage

compute_loglik_from_matrix_and_pi(pi_s, lm, Shat_alpha)

Arguments

pi_s

the vector of mixture proportions

lm

the results of a likelihood matrix calculation from calc_relative_lik_matrix

Shat_alpha

matrix of Shat^alpha


mashr documentation built on Oct. 18, 2023, 5:08 p.m.