logLik.gllvm: Log-likelihood of gllvm

View source: R/logLik.gllvm.R

logLik.gllvmR 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)

gllvm documentation built on Sept. 18, 2023, 5:22 p.m.