log_lik: Extract log-likelihood

View source: R/geostan_fit-methods.R View source: R/information-criteria.R

log_likR Documentation

Extract log-likelihood

Description

Extract log-likelihood

Usage

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

## S3 method for class '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

waic dic


geostan documentation built on April 3, 2025, 10:04 p.m.