histDens | R Documentation |
Plot a histrogram and add a kernel density line.
histDens( x, breaks = "Sturges", ... )
x |
values of the variable. |
breaks |
passed to |
... |
further arguments are passed to |
Arne Henningsen
set.seed( 123 )
x <- rnorm( 100 )
histDens( x )
histDens( x, 20 )
histDens( x, 20, main = "My Title" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.