logLik.gllvm: Log-likelihood of gllvm

Description Usage Arguments Author(s) Examples

View source: R/logLik.gllvm.R

Description

Extracts Log-likelihood from 'gllvm' objects.

Usage

1
2
## S3 method for class 'gllvm'
logLik(object, ...)

Arguments

object

an object of class 'gllvm'.

...

not used.

Author(s)

David I. Warton, Jenni Niku

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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 July 29, 2021, 1:06 a.m.