Density estimation: densityplot() {lattice}

La fonction densityplot() produces density estimation plots
densityplot( ~ urb | continent, data=world)

densityplot() calls the elementary function density() and accepts all its arguments. See the on-line help for more details.

slider.density(gnpcap) (package aplpack produces various interactive density plots, a slider lets you choose the width of the window, another slider the kind of density plot.