Learn R Programming

fit.models (version 0.64)

sideBySideQQPlot: Compaison QQ Plot

Description

Produces side-by-side QQ plots. An optional simulated confidence envelope can be included in each plot.

Usage

sideBySideQQPlot(
  x,
  fun,
  envelope = TRUE,
  half.normal = FALSE,
  n.samples = 250,
  level = 0.95,
  id.n = 3,
  qqline = TRUE,
  ...
)

Arguments

x

a fit.models object.

fun

a function to extract the desired quantity from x.

envelope

a logical value. If TRUE a level confidence envelope is simulated for each QQ plot.

half.normal

a logical value. If TRUE the plot is drawn using the absolute values.

n.samples

a positive integer value giving the number of samples to compute in the simulation of the confidence envelope.

level

a numeric value between 0 and 1 specifying the confidence level for the envelope.

id.n

a non-negative integer value specifying the number of extreme points to identify.

qqline

a logical value. If TRUE, a QQ line is included in the plot.

additional arguments are passed to xyplot.

Value

the trellis object is invisibly returned.