Extract log-likelihood

log_lik(object, array = FALSE, ...)

# S3 method for geostan_fit
log_lik(object, array = FALSE, ...)

Arguments

object

A geostan_fit model

array

Return results as an array, one matrix per MCMC chain?

...

Other arguments (not used)

Value

A matrix (or array) of MCMC samples for the log-likelihood: the casewise probability of the data conditional on estimated parameter values.

See also