| logLik.glc {grt} | R Documentation |
Log-Likelihood of a 'glc' or 'gcjc' Object
Description
Extract the log-likelihood of the fitted general linear or conjunctive classifier model.
Usage
## S3 method for class 'glc'
logLik(object, ...)
## S3 method for class 'gcjc'
logLik(object, ...)
Arguments
object |
object of class |
... |
further arguments (currently unused) |
Value
The log-likelihood for the general linear or conjunctive classifier represented by the estimated parameters in object
Note
This function is intended for indirect internal use by functions such as AIC.
To obtain the log-likelihood of the fitted model applied to new dataset, use logLik.glcStruct or logLik.gcjcStruct
See Also
glc,
logLik.glcStruct,
gcjc,
logLik.gcjcStruct
Examples
data(subjdemo_2d)
fit <- glc(response ~ x + y, data=subjdemo_2d,
category=subjdemo_2d$category, zlimit=7)
logLik(fit)
[Package grt version 0.2.1 Index]