add_dens_polygon {metafolio} | R Documentation |
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 |
x values |
y |
y values |
col |
Colour to add polygon with. Will be made into two levels of opacity. |
lwd |
lwd Line width |
alpha |
A numeric vector of length 2 that gives the confidence levels for the two kernel density polygons. |
add_poly |
Add polygons? |
add_pts |
Logical: should points be added? |