density1D {biplotEZ} | R Documentation |
Creates a kernel density in 1-dimension
Description
Creates a kernel density in 1-dimension
Usage
density1D(
bp,
which = NULL,
h = "nrd0",
kernel = "gaussian",
col = ez.col,
lwd = 1.5,
legend.mar = c(2, 5, 0, 5)
)
Arguments
bp |
object of class |
which |
which group. |
h |
bandwidth. |
kernel |
character string giving the smoothing kernel to be used. |
col |
colours to be used for each of the density curves. |
lwd |
linewidth of density curve. |
legend.mar |
The margin line of the legend. |
Value
An object of class biplot
.
Examples
biplot (iris,classes=iris[,5]) |> CVA(dim=1) |> density1D() |> plot()
[Package biplotEZ version 2.0 Index]