bestLogLikelihood,celdaModel-method {celda}R Documentation

Get the log-likelihood

Description

Retrieves the final log-likelihood from all iterations of Gibbs sampling used to generate a celdaModel.

Usage

## S4 method for signature 'celdaModel'
bestLogLikelihood(celdaMod)

Arguments

celdaMod

A celdaModel object of class celda_C, celda_G, or celda_CG.

Value

Numeric. The log-likelihood at the final step of Gibbs sampling used to generate the model.

Examples

data(celdaCGMod)
bestLogLikelihood(celdaCGMod)

[Package celda version 1.0.3 Index]