Add a kernel density polygon
add_dens_polygon(x, y, col, lwd = 1.7, alpha = c(0.25, 0.75),
add_pts = FALSE, add_poly = TRUE)
x values
y values
Colour to add polygon with. Will be made into two levels of opacity.
lwd Line width
A numeric vector of length 2 that gives the confidence levels for the two kernel density polygons.
Add polygons?
Logical: should points be added?