Extracts Log-likelihood from 'gllvm' objects.
# S3 method for class 'gllvm'
logLik(object, ...)
Arguments
- object
an object of class 'gllvm'.
- ...
not used.
Author
David I. Warton, Jenni Niku
Examples
if (FALSE) { # \dontrun{
## Load a dataset from the mvabund package
data(antTraits, package = "mvabund")
y <- as.matrix(antTraits$abund)
# Fit gllvm model
fit <- gllvm(y = y, family = poisson())
# log-Likelihood:
logLik(fit)
} # }