qqmath.zoo: Q-Q Plots for Zoo Objects

View source: R/qqmath.zoo.R

qqmath.zooR Documentation

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 class 'zoo'
qqmath(
  x,
  data = NULL,
  xlab = "Theoretical quantiles",
  ylab = "Sample quantiles",
  ref = TRUE,
  ci = TRUE,
  ...
)

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().

Value

Plots and returns a trellis object.

Author(s)

Original by Deepayan Sarkar.

See Also

lattice::qqmath(), zoo::zoo(), lattice::panel.qqmathline().

Examples

if (require(zoo))
  qqmath(zoo(lh))

tactile documentation built on May 31, 2023, 9:47 p.m.