LogLikelihood: Normal Components

Description Usage Arguments Value

View source: R/EstimateNormal.R

Description

This internal function calculates the log likelihood for each step in the gibbs sampling

Usage

1
LogLikelihood(gibbs, k, y, prior)

Arguments

gibbs

matrix with parameters sampled with gibbs algorithm

k

Number of components

y

vector of flat data

prior

an optional list of hyperparameters for prior distributions

Value

logLikelihood


sp2019-antibiotics/ECOFFBayes documentation built on Aug. 28, 2019, 6:06 p.m.