Learn R Programming

mixsmsn (version 1.1-10)

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 histogram

main

the same option in histogram

col.hist

change the color of the histogram bars

col.dens

change the color of the density curve

...

further arguments to hist

See Also

smsn.mix

Examples

Run this code
# NOT RUN {
 ## see \code{\link{bmi}} and \code{\link{smsn.mix}}
# }

Run the code above in your browser using DataLab