Learn R Programming

mosaic (version 0.4-1)

xqqmath: Augmented version of qqmath

Description

Augmented version of qqmath

Usage

xqqmath(x, data = NULL, panel = "panel.xqqmath", ...)

panel.xqqmath(x, qqmathline = !(fitline || idline), idline = FALSE, fitline = FALSE, slope = NULL, intercept = NULL, overlines = FALSE, groups = NULL, ..., col.line = trellis.par.get("add.line")$col, pch = 16, lwd = 2, lty = 2)

Arguments

x,data,panel,xqqmath,...
as in qqmath
qqmathline
a logical: should line be displayed passing through first and third quartiles?
idline
a logical; should the line y=x be added to the plot?
fitline
a logical; should a ftted line be added to plot? Such a line will use slope and intercept if provided, else the standard deviation and mean of the data.
slope
slope for added math line
intercept
intercept for added math line
overlines
a logical: should lines be on top of qq plot?
groups,pch,lwd,lty
as in lattice plots
col.line
color to use for added lines

Value

  • a trellis object

Examples

Run this code
xqqmath(rnorm(100))

Run the code above in your browser using DataLab