plot.gaussmodel | R Documentation |
Plot the histogram and, if available, estimated densities
or cumulative distributions of gaussmodel
object.
## S3 method for class 'gaussmodel' plot( x, cum = FALSE, nmax = 4, graphs = NULL, bins = 40, hist = TRUE, scaling = FALSE, linesize = 1, ... )
x |
|
cum |
A logical scalar, whether or not it plots cumulative
histogram/distributions instead of plain histogram/densities.
Default value is |
nmax |
A maximum number of estimates to be plotted in the graph. The default value is 4. |
graphs |
A vector of indices to be displayed in the graph.
These indices appear in the leftmost column of the table in
|
bins |
A number of bins of the histogram. |
hist |
A logical scalar. If |
scaling |
A logical scalar, which indicates whether or not it scales
means and standard deviations in |
linesize |
A positive numeric scalar, which indicates the thickness of
lines. The default value is |
... |
Arguments to be passed to or from other methods. |
A ggplot2
object.
gaussmodel()
summary.gaussmodel()
func.gaussmodel()
pdf_gaussmodel()
cdf_gaussmodel()
## Create `gaussmodel` object from a data set mix2gauss$n200 gmodel <- gaussmodel(mix2gauss$n200) ## Plot it (histogram only) plot(gmodel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.