plot-boxplot | R Documentation |
Displays standard box and box-percentile plots of assets.
assetsBoxPlot(x, col = "bisque", ...)
assetsBoxPercentilePlot(x, col = "bisque", ...)
x |
any rectangular time series object which can be converted by the
function |
col |
a character string, defining the color to fill the boxes. |
... |
optional arguments to be passed. |
Diethelm Wuertz for the Rmetrics port.
Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.
## LPP -
# Load Swiss Pension Fund Data:
LPP <- LPP2005REC[, 1:6]
head(LPP)
## assetsBoxPlot -
# Create a Boxplot: assetsBoxPlot -
assetsBoxPlot(LPP)
## assetsBoxPercentilePlot -
# Create a Box Percentile Plot: assetsBoxPercentilePlot -
assetsBoxPercentilePlot(LPP)
grid(NA, NULL, col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.