logLik.eicm {eicm} | R Documentation |
EICM (penalized) log-likelihood
Description
Compute the (penalized) log-likelihood of the data matrix included in the EICM model, or the log-likelihood of a new occurrence data matrix given the model.
Usage
## S3 method for class 'eicm'
logLik(object, occurrences = NULL, allow.na = TRUE, ...)
Arguments
object |
a EICM model |
occurrences |
the occurrence data matrix. If omitted, the data matrix used to fit the model is used. |
allow.na |
logical. Allow NAs in the occurrence matrix? If no NAs exist, it's faster to set to FALSE. |
... |
additional argument(s) for methods. |
Value
A logLik
object.
[Package eicm version 1.0.3 Index]