kdeContours | R Documentation |
MASS:kde2d
and display with graphics::contour
Calculate kernel density contour lines at specified probability levels
Calculate kernel density contour lines at specified probability levels with MASS:kde2d
and display with graphics::contour
kdeContours(i, id, prob, cols, m, ...)
i |
a data.frame containing unique ID, |
id |
a unique ID column name |
prob |
a vector of probability levels |
cols |
a vector of colors |
m |
unique levels of the ID column (used to match colors) |
... |
additional arguments to |
estimated kernel density contours
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.