logLik.glc {grt} | R Documentation |
Extract the log-likelihood of the fitted general linear or conjunctive classifier model.
## S3 method for class 'glc'
logLik(object, ...)
## S3 method for class 'gcjc'
logLik(object, ...)
object |
object of class |
... |
further arguments (currently unused) |
The log-likelihood for the general linear or conjunctive classifier represented by the estimated parameters in object
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
glc
,
logLik.glcStruct
,
gcjc
,
logLik.gcjcStruct
data(subjdemo_2d)
fit <- glc(response ~ x + y, data=subjdemo_2d,
category=subjdemo_2d$category, zlimit=7)
logLik(fit)