Learn R Programming

LSD (version 2.0)

heathist: Heat histogram

Description

heat histogram with an additional color stripe based on a kernel density estimate

Usage

heathist(x, breaks = 20, main = "Heat-histogram", colpal = "greys", nobox = FALSE, revpal = FALSE, add.density = FALSE, col.density = "darkred", add.rug = TRUE, col.rug = "black", ncolors = 100, ...)

Arguments

x
vector
breaks
breaks of the histogram
main
title of the plot
colpal
which colorpalettes should be chosen ( see disco() )
nobox
should the box be plotted
revpal
reverse the colorpalette
add.density
add density line
col.density
color of the density line
add.rug
add a rug (1-d plot of the data) below the histogram-bars
col.rug
color of the rug
ncolors
number of colors to use
...
additional parameters to be passed to points and plot

See Also

heatbarplot,disco,LSD.demo.tour

Examples

Run this code
demo.heathist()

Run the code above in your browser using DataLab