Learn R Programming

grt (version 0.1.0)

logLik.glc: Log-Likelihood of a 'glc' Object

Description

Extract the log-liklihood of the fitted general linear classifier model.

Usage

## S3 method for class 'glc':
logLik(object, \dots)

Arguments

object
object of class glc
...
further arguments (currently unused)

Value

  • The log-likelihood for the general linear classifier represented by the estimated paramers in object

See Also

glc, logLik.glcStruct

Examples

Run this code
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