Learn R Programming

grt (version 0.2.1)

logLik.glc: 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 glc
logLik(object, …)

# S3 method for gcjc logLik(object, …)

Arguments

object

object of class glc or gcjc

further arguments (currently unused)

Value

The log-likelihood for the general linear or conjunctive classifier represented by the estimated parameters in object

See Also

glc, logLik.glcStruct, gcjc, logLik.gcjcStruct

Examples

Run this code
# NOT RUN {
data(subjdemo_2d)
fit <- glc(response ~ x + y, data=subjdemo_2d, 
    category=subjdemo_2d$category, zlimit=7)
logLik(fit)
# }

Run the code above in your browser using DataLab