Learn R Programming

emax.glm (version 0.1.2)

plot_probabilities.em.glm: Test Plot em.glm

Description

Test Plot em.glm

Usage

# S3 method for em.glm
plot_probabilities(em.glm, ...)

Arguments

em.glm

An em.glm object. From em.fit

...

Associated arguments to be passed to plot::par function.

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")

plot_probabilities(m)

# }

Run the code above in your browser using DataLab