Description Usage Arguments Details See Also Examples
Draws multiple density curves within a single plot.
1 2 3 |
x |
a list of numeric vectors |
xlab |
the label of the x axis, default to |
col |
the color palette to use default to |
legend.x |
the position of the legend, default to "top",
see the |
xlim |
the xlim defaults to NULL. If NULL the limit is automatically calculated |
ylim |
the ylim defaults to NULL. If NULL the limit is automatically calculated |
lty |
the line type, default to 1 (blank), see
|
legend.cex |
the character expansion of the legend, defaults to 1, see
|
legend |
the legend to be displayed, if NULL and x is a named list,
the names are used as legend, otherwise the legend is omitted. If provided,
it must be a list of length |
... |
additional argument passed to the |
This function calculates the most suitable axis from the densities calculated from the provided list of numerical vectors and display all densities in a single plot
RColorBrewer
,
legend
and
par
1 2 3 4 5 6 7 | ## Not run:
## TODO add an object after putting results in the data folder
## and use that for plotting the example
data(RST-densities)
plot.multidensity(density.list)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.