seriesPlot {fAssets}R Documentation

Displays Series Plots of Assets.

Description

Displays series from sets of assets.

Usage

assetsReturnPlot(x, col = "steelblue", ...)
assetsCumulatedPlot(x, col = "steelblue", ...)
assetsSeriesPlot(x, col = "steelblue", ...)

Arguments

x an object of class timeSeries.
col a character string, defining the color to fill the boxes.
... optional arguments to be passed.

Author(s)

Diethelm Wuertz for the Rmetrics port.

References

Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.

Examples

## LPP2005REC -
   LPP = as.timeSeries(data(LPP2005REC))
   
## assetsReturnPlot -
   # par(mfrow = c(3,2))
   assetsReturnPlot(LPP[, 1:3])
   
## assetsCumulatedPlot -
   assetsCumulatedPlot(LPP[, "LPP40"], 
     col = "red")

## assetsSeriesPlot  
   assetsSeriesPlot(LPP[, c("LMI", "ALT")], 
     col =c("orange", "brown"))

[Package fAssets version 2100.77 Index]