logLik.gllvm {gllvm} | R Documentation |
Log-likelihood of gllvm
Description
Extracts Log-likelihood from 'gllvm' objects.
Usage
## S3 method for class 'gllvm'
logLik(object, ...)
Arguments
object |
an object of class 'gllvm'. |
... |
not used. |
Author(s)
David I. Warton, Jenni Niku
Examples
## Not run:
## Load a dataset from the mvabund package
data(antTraits)
y <- as.matrix(antTraits$abund)
# Fit gllvm model
fit <- gllvm(y = y, family = poisson())
# log-Likelihood:
logLik(fit)
## End(Not run)
[Package gllvm version 1.4.3 Index]