plot-qqplot: Normal Quantile-Quantile Plots

plot-qqplotR Documentation

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.

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 -
   # Load Swiss Pension Fund Data:
   LPP <- LPP2005REC
   head(LPP) 
    
## assetsQQNormPlot -
   # Create normal Quantile-Quantile Plot: 
   # par(mfrow = c(2, 2))
   assetsQQNormPlot(LPP[, 1:3])

fAssets documentation built on Jan. 14, 2024, 8:24 p.m.

Related to plot-qqplot in fAssets...