logLik.gllvm | R Documentation |
Extracts Log-likelihood from 'gllvm' objects.
## S3 method for class 'gllvm'
logLik(object, ...)
object |
an object of class 'gllvm'. |
... |
not used. |
David I. Warton, Jenni Niku
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.