powered by
Plot fit-parameters and errors
# S3 method for em.glm plot(x, known_params = NULL, plot_type = lines, add = FALSE, ...)
An em.glm fit object.
Prior estimates of fit parameters for comparison.
The plot type to display. Defaults to lines, alternative include points.
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
# 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(m) # }
Run the code above in your browser using DataLab