Skip to contents

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, ...)

Arguments

object

a libbi object

...

options to be passed to run.libbi

Value

a vector of log-likelihood