Learn R Programming

cg (version 1.0-2)

qqGraph: Quantile-Quantile Graphs

Description

Create a Quantile-Quantile (Q-Q) Gaussian graph of the residuals of a fitted object from the cg package.

Usage

qqGraph(fit, line = TRUE, cgtheme = TRUE, device = "single", ...)

Arguments

fit
A fit object, typically created by the fit generic function.
line
Add a line to help assess the distribution of the residuals. See specific method written for the fit argument.
cgtheme
When set to the default TRUE, ensures a trellis device is active with limited color scheme. Namely background, strip.shingle, and strip.background are each set to "white".
device
Can be one of three values: [object Object],[object Object],[object Object]
...
Additional arguments, depending on the specific method written for the object. See the method-specific documentation for additional details.

Value

  • qqGraph returns an invisible NULL. The main purpose is the side effect of graphing to the current device.

concept

  • quantile-quantile
  • residual diagnostics

See Also

qqGraph.cgOneFactorFit

Examples

Run this code
data(canine)
canine.data <- prepareCGOneFactorData(canine, format="groupcolumns",
                                      analysisname="Canine",
                                      endptname="Prostate Volume",
                                      endptunits=expression(plain(cm)^3),
                                      digits=1, logscale=TRUE, refgrp="CC")
canine.fit <- fit(canine.data)

qqGraph(canine.fit)

Run the code above in your browser using DataLab