plot.em.glm: Plot fit-parameters and errors

Description Usage Arguments Examples

Description

Plot fit-parameters and errors

Usage

1
2
3
## S3 method for class 'em.glm'
plot(x, known_params = NULL, plot_type = lines,
  add = FALSE, ...)

Arguments

x

An em.glm fit object.

known_params

Prior estimates of fit parameters for comparison.

plot_type

The plot type to display. Defaults to lines, alternative include points.

add

Boolean flag to decide if the plot should be added to an existing displayed plot object or create a new axes.

...

Arguments to be passed to methods

Examples

1
2
3
4
5
6
x <- model.matrix(~ factor(wool) + factor(tension), warpbreaks)
y <- warpbreaks$breaks

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

plot(m)

emax.glm documentation built on July 4, 2019, 5:04 p.m.