logLik {rbi}R Documentation

Using the LibBi wrapper to logLik

Description

The method logLik extracts the log-likelihood of a libbi object. This can be done, for example, after a call to sample to inspect the chain log-likelihoods.

For the help page of the base R logLik function, see logLik.

Usage

## S3 method for class 'libbi'
logLik(object, ...)

Arguments

object

a libbi object

...

options to be passed to run.libbi

Value

a vector of log-likelihood


[Package rbi version 1.0.0 Index]