Usage
density.plot(x, by = "column", col, xlim, ylim, main = "", sub = NULL, xlab, ylab, lty = par("lty"), lwd = par("lwd"), ...)
Arguments
by
character string (defaulting to "column"
) specifying
whether to panel the density plot by "row"
or "column"
marginal.
col
an optional vector of colors, with length corresponding to
the number of marginals selected in by
. Defaults to
rainbow
.
xlim,ylim
optional limits for the x-axis and y-axis, passed to
plot
.
main,sub
optional title and subtitle, passed to plot
.
xlab,ylab
optional labels for the x- and y-axes, passed to
plot
.
lty,lwd
optional arguments for line type and line width, passed
to lines
and plot
. If either lty
or lwd
are
vectors, it must correspond to the number of row or column marginals selected.
...
additional arguments passed to par
.