QuantileQuantilePlots {fBasics} | R Documentation |
Quantile-Quantile plots
Description
Returns quantile-quantile plots for the normal, the normal inverse Gaussian, the generalized hyperbolic Student-t and the generalized lambda distribution.
Usage
qqnormPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, ...)
qqnigPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, ...)
qqghtPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, ...)
qqgldPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, ...)
Arguments
x |
an object of class |
labels |
a logical flag, should the plot be returned with default labels and
decorated in an automated way? By default |
col |
the color for the series. In the univariate case use just a color
name like the default, |
pch |
an integer value, by default 19. Which plot character should be used in the plot? |
title |
a logical flag, by default |
mtext |
a logical flag, by default |
grid |
a logical flag, should a grid be added to the plot? By default
|
rug |
a logical flag, by default |
scale |
a logical flag, by default |
... |
optional arguments to be passed. |
Details
List of Functions:
qqnormPlot Produces a tailored Normal quantile-quantile plot, |
qqnigPlot Produces a tailored NIG quantile-quantile plot, |
qqghtPlot Produces a tailored GHT quantile-quantile plot, |
qqgldPlot Produces a tailored GLD quantile-quantile plot. |
Value
displays a quantile-quantile plot.
Author(s)
Diethelm Wuertz for the Rmetrics R-port.
Examples
## data -
data(LPP2005REC, package = "timeSeries")
SPI <- LPP2005REC[, "SPI"]
plot(SPI, type = "l", col = "steelblue", main = "SP500")
abline(h = 0, col = "grey")
## qqPlot -
qqnormPlot(SPI)