hist.CAMAN.object | R Documentation |
Graphical display of the data and the mixture. Intended for larger data sets.
## S3 method for class 'CAMAN.object'
hist(x, nbreaks=NULL, mixdens=TRUE, mixdens.col="red",
return.mixdens=FALSE, data.plot=NULL, singleDistr=TRUE,
main="", xlab="", plotlegend=TRUE, ...)
x |
A |
nbreaks |
Number of breaks in histogram. Defaults to |
mixdens |
logical; plot mixture density? |
mixdens.col |
color of mixture density. |
return.mixdens |
logical; return the mixture density? |
data.plot |
data to plot. Defaults to |
singleDistr |
logical; should the distributions of the single components be plotted? |
main |
character; heading of the plot. |
xlab |
character; label of x-axis. |
plotlegend |
logical; should a legend be plotted. |
... |
arguments to be passed on to |
The function plots a histogram with the mixture density and its components overlaid. If return.mixdens
is set to TRUE
, the density at the breaks will also be returned.
Peter Schlattmann and Johannes Hoehne
Schlattmann, P. (2009). Medical Applications of Finite Mixture Models. Berlin: Springer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.