log_lik.hsstan {hsstan} | R Documentation |
Pointwise log-likelihood
Description
Compute the pointwise log-likelihood.
Usage
## S3 method for class 'hsstan'
log_lik(object, newdata = NULL, ...)
Arguments
object |
An object of class |
newdata |
Optional data frame to use to evaluate the log-likelihood.
If |
... |
Currently ignored. |
Value
A matrix of size S
by N
, where S
is number of draws from the posterior
distribution, and N
is the number of data points.
Examples
# continued from ?hsstan
log_lik(hs.biom)
[Package hsstan version 0.8.2 Index]