gqqnorm: Quantile-quantile gplots

View source: R/gplots.R

gqqnormR Documentation

Quantile-quantile gplots

Description

qqnorm is a generic function the default method of which produces a normal QQ plot of the values in y. qqline adds a line to a “theoretical”, by default normal, quantile-quantile plot which passes through the probs quantiles, by default the first and third quartiles.

qqplot produces a QQ plot of two datasets.

Graphical parameters may be given as arguments to gqqnorm, gqqplot and qqline.

Usage

gqqnorm(y, ...)

## Default S3 method:
gqqnorm(
  y,
  ylim,
  main = "Normal Q-Q Plot",
  xlab = "Theoretical Quantiles",
  ylab = "Sample Quantiles",
  plot.it = TRUE,
  datax = FALSE,
  grid = TRUE,
  col.grid = "grey90",
  col.acc = "white",
  ...
)

gqqplot(
  x,
  y,
  plot.it = TRUE,
  xlab = deparse(substitute(x)),
  ylab = deparse(substitute(y)),
  ...,
  grid = TRUE,
  col.grid = "grey90",
  col.acc = "white"
)

Arguments

y

The second or only data sample.

xlab, ylab, main

plot labels. The xlab and ylab refer to the y and x axes respectively if datax = TRUE.

plot.it

logical. Should the result be plotted?

datax

logical. Should data values be on the x-axis?

grid

logical; if TRUE, a background grid will be drawn

col.grid

grid color

col.acc

grid accent color

x

The first sample for qqplot.


raredd/plotr documentation built on Nov. 19, 2023, 4:09 a.m.