compute_alt_loglik_from_matrix_and_pi: Compute vector of alternative loglikelihoods from a matrix of...

View source: R/likelihoods_origdata.R

compute_alt_loglik_from_matrix_and_piR Documentation

Compute vector of alternative loglikelihoods 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_alt_loglik_from_matrix_and_pi(pi_s, lm, Shat_alpha)

Arguments

pi_s

the vector of mixture proportions, with first element corresponding to null

lm

the results of a likelihood matrix calculation from calc_relative_lik_matrix whose first column corresponds to null

Shat_alpha

matrix of Shat^alpha


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