swh:1:snp:d1587d616651317fdcebcbb237dce82c32266449
Tip revision: dfe6577bb164f53feaedf2da9530457197edfb1a authored by Georgi N. Boshnakov on 20 October 2022, 11:25:10 UTC
version 4021.93
version 4021.93
Tip revision: dfe6577
plot-qqPlot.Rd
\name{QuantileQuantilePlots}
\alias{qqnormPlot}
\alias{qqnigPlot}
\alias{qqghtPlot}
\alias{qqgldPlot}
\title{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.
\cr
List of Functions:
\tabular{ll}{
\code{qqnormPlot} \tab Returns a tailored Normal quantile-quantile plot, \cr
\code{qqnigPlot} \tab Returns a tailored NIG quantile-quantile plot, \cr
\code{qqghtPlot} \tab Returns a tailored GHT quantile-quantile plot, \cr
\code{qqgldPlot} \tab Returns a tailored GLD quantile-quantile plot.}
}
\usage{
qqnormPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, \dots)
qqnigPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, \dots)
qqghtPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, \dots)
qqgldPlot(x, labels = TRUE, col = "steelblue", pch = 19,
title = TRUE, mtext = TRUE, grid = FALSE, rug = TRUE,
scale = TRUE, \dots)
}
\arguments{
\item{x}{
an object of class \code{"timeSeries"} or any other object which
can be transformed by the function \code{as.timeSeries} into an
object of class \code{timeSeries}. The latter case, other then
\code{timeSeries} objects, is more or less untested.
}
\item{labels}{
a logical flag, should the plot be returned with default labels
and decorated in an automated way? By default \code{TRUE}.
}
\item{col}{
the color for the series. In the univariate case use just a
color name like the default, \code{col="steelblue"}, in the
multivariate case we recommend to select the colors from a
color palette, e.g. \code{col=heat.colors(ncol(x))}.
}
\item{pch}{
an integer value, by default 19. Which plot character should be
used in the plot?
}
\item{title}{
a logical flag, by default TRUE. Should a default title added
to the plot?
}
\item{mtext}{
a logical flag, by default TRUE. Should a marginal text be
printed on the third site of the graph?
}
\item{grid}{
a logical flag, should a grid be added to the plot?
By default \code{TRUE}. To plot a horizontal lines only
use \code{grid="h"} and for vertical lines use \code{grid="h"},
respectively.
}
\item{rug}{
a logical flag, by default TRUE. Should a rug representation
of the data added to the plot?
}
\item{scale}{
a logical flag, by default TRUE. Should the time series be
scaled for the investigation?
}
\item{\dots}{
optional arguments to be passed.
}
}
\value{
displays a quantile-quantile plot.
}
\author{
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)
}
\keyword{programming}