Nothing
#' Internal Weighted Log Likelihood Function
#'
#' @param gamma A posterior matrix
#'
#' @keywords internal
#'
#' @return A weighted log likelihood vector
#'
fct_weighted_ll <- function(gamma){
llik <- apply(gamma, 1, max)
llik[is.infinite(llik)] <- min(llik[is.finite(llik)])
sum(llik)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.