tactile (version 0.2.0)

qqmath.zoo: Q-Q Plots for Zoo Objects

Description

Draw quantile-Quantile plots of a sample against a theoretical distribution, possibly conditioned on other variables.

Usage

# S3 method for zoo
qqmath(x, data = NULL, xlab = "Theoretical quantiles",
  ylab = "Sample quantiles", ref = TRUE, ci = TRUE, ...)

Value

Plots and returns a trellis object.

Arguments

x

A zoo object

data

Ignored

xlab

X axis label

ylab

Y axis label

ref

Plot a reference line via lattice::panel.qqmathline().

ci

Plot confidence levels via panel.qqmathci().

...

Parameters to pass on to lattice::qqmath().

Author

Original by Deepayan Sarkar.

See Also

Examples

Run this code
if (require(zoo))
  qqmath(zoo(lh))

Run the code above in your browser using DataCamp Workspace