mix.hist: Estimated densities
Description
Plot the histogram along with the estimated density (univariate case, p=1).
Usage
mix.hist(y, model, breaks, main, col.hist, col.dens, ...)
Arguments
- y
the response vector
- model
a variable returned by smsn.mix
- breaks
the same option in hist
- main
the same option in hist
- col.hist
change the color of the histogram bars
- col.dens
change the color of the density curve
- ...
further arguments to hist
Examples
Run this code ## see \code{\link{bmi}} and \code{\link{smsn.mix}}
Run the code above in your browser using DataLab