Learn R Programming

fAssets (version 3003.81-1)

plot-qqplot: Normal Quantile-Quantile Plots

Description

Displays a normal quantile-quantile plot

Usage

assetsQQNormPlot(x, col = "steelblue", skipZeros = FALSE, ...)

Arguments

x
any rectangular time series object which can be converted by the function as.matrix() into a matrix object, e.g. like an object of class timeSeries, data.frame, or mts.
col
a character string, defining the color to fill the boxes.
skipZeros
a logical, should zeros be skipped in the histogram plot of the return series?
...
optional arguments to be passed.

References

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

Examples

Run this code
## LPP2005REC -
   # Load Swiss Pension Fund Data:
   LPP <- LPP2005REC
   head(LPP) 
    
## assetsQQNormPlot -
   # Create normal Quantile-Quantile Plot: 
   # par(mfrow = c(2, 2))
   assetsQQNormPlot(LPP[, 1:3])

Run the code above in your browser using DataLab