Learn R Programming

rbi (version 1.0.0)

logLik: 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 libbi
logLik(object, ...)

Value

a vector of log-likelihood

Arguments

object

a libbi object

...

options to be passed to run.libbi