plot.model {bimixt} | R Documentation |
Plot method for a mixture model object.
## S3 method for class 'model' plot(x, histogram = T, breaks = "Sturges", main = model$type, cols = c("#008ED6", "#990033"), ylab = "Density", xlab = "", ...)
x |
an object of type model from |
histogram |
a Boolean indicating whether to plot a histogram of the original data (default = true). Histogram is plotted using the |
breaks |
the types of breaks to be used in |
main |
a character string to be used as the title of the plot |
cols |
a vector of length 2 specifying the colors of the components |
ylab |
y label of the plot |
xlab |
x label of the plot |
... |
Not used. |
Plots a model object.
Michelle Winerip, Garrick Wallstrom, Joshua LaBaer
case=rmix(50,10,1.2,15,1,.7) control=rmix(50,10,1.2,15,1,.95) model=bimixt.model(case=case,control=control, type="4c") plot(model)