Learn R Programming

LSD (version 2.0)

kde2dplot: Kde2d plot

Description

Plot displays the estimation of the density of a 2d sample. The density itself is computed with kde2d in the package MASS.

Usage

kde2dplot(x, y, grid = 100, ncol = 30, nlevels = 10, main = "kde2d")

Arguments

x
x-vector
y
y-vector
grid
size of the grid ( see kde2d )
ncol
the number of colors to use
nlevels
number of levels
main
title of the plot

See Also

heatscatter,LSD.demo.tour

Examples

Run this code
demo.heatscatter()

Run the code above in your browser using DataLab