Learn R Programming

emax.glm (version 0.1.2)

plot.em.glm.summary: Error bar plot of coefficients and errors to inspect class overlap.

Description

Error bar plot of coefficients and errors to inspect class overlap.

Usage

# S3 method for em.glm.summary
plot(x, ...)

Arguments

x

An EM summary object, from summary.em.glm

...

Arguments to be passed to methods

Value

An R plot with error bars.

Examples

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

m <- em.glm(x = x, y = y, K = 2, b.init = "random")
m.sum <- summary(m)

plot(m.sum)

# }

Run the code above in your browser using DataLab