% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{extract_log_lik}
\alias{extract_log_lik}
\title{Extract the full pointwise log-likelihood matrix from an mlumr_fit}
\usage{
extract_log_lik(object)
}
\arguments{
\item{object}{An \code{mlumr_fit} object.}
}
\value{
A numeric matrix of dimension \verb{n_draws x (n_ipd + n_agd_rows)}.
IPD columns come first, then AgD rows.
}
\description{
Combines the IPD and AgD per-observation log-likelihood draws into a
single matrix with one row per posterior draw and one column per
observation. The result is suitable for direct use with
\code{\link[loo:loo]{loo::loo()}} / \code{\link[loo:waic]{loo::waic()}}.
}
\keyword{internal}
