View source: R/plot_cons_plans.R
add_dens_polygon | 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_pts |
Logical: should points be added? |
add_poly |
Add polygons? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.