Learn R Programming

emax.glm (version 0.1.2)

summary.small.em: Summarize a small.em class

Description

Summarize a small.em class

Usage

# S3 method for small.em
summary(object, ...)

Arguments

object

A small.em class

...

additional arguments affecting the summary produced

Value

A data frame of log-likeliood, BIC and model index.

Examples

Run this code
# NOT RUN {
x <- model.matrix(~ factor(wool) + factor(tension), warpbreaks)
y <- warpbreaks$breaks

warm_up <- small.em(x = x, y = y, K = 2, b.init = "random", sample.size = 50)
summary(warm_up)

# }

Run the code above in your browser using DataLab