Description Usage Arguments Examples
Plot fit-parameters and errors
1 2 3 |
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 |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.