log_lik.icfit.RdConvenience function to extract a log-likelihood matrix or array from the
fitted Stan model in an icfit object.
# S3 method for icfit log_lik(X, permuted = TRUE, ...)
| X | object of type |
|---|---|
| permuted | Logical. Should the draws from each chain be permuted and
merged?. Default is |
| ... | Not currently used. |
An S x N matrix containing pointwise log-likelihood samples, where S
is the number of samples and N is the number of observations in the data.
If permuted is FALSE then an S x N x R array is returned,
where R is the number of chains.