xplot: Augmented functions

Description Usage Arguments See Also Examples

Description

These functions all behave similarly to the functions with the initial x removed from their names.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
xplot(x, ...)

## Default S3 method:
xplot(...)

## S3 method for class 'lm'
xplot(x, which = c(1L:3, 5), caption = captions,
  panel.default = if (add.smooth) panel.xyplotsmooth else panel.xyplotpoints,
  sub.caption = NULL, main = "", print.plots = TRUE, ask = 1 <
  length(which) && dev.interactive(), type = "p",
  pch = trellis.par.get("plot.symbol")$pch,
  addline.col = trellis.par.get("add.line")$col,
  line.col = trellis.par.get("plot.line")$col,
  symbol.col = trellis.par.get("plot.symbol")$col,
  lty = trellis.par.get("superpose.line")$lty, ..., id.n = 3,
  labels.id = names(residuals(x)), cex.id = 0.7, qqline = TRUE,
  cook.levels = c(0.5, 1), add.smooth = TRUE, label.pos = c("left",
  "right"), cex.caption = 1)

Arguments

x

A numeric vector or formula.

...

arguments passed to other functions.

which

A numeric vector indicating which plots to produce

caption

caption for the plot

panel.default

default panel function

sub.caption

secondary caption

main

as in xyplot

print.plots

a logical

ask

a logical

type

as in xyplot

pch

as in xyplot

addline.col

color for added lines

line.col

color for lines

symbol.col

color for symbols

lty

as in xyplot

id.n

a numeric

labels.id

a character vector of labels

cex.id

cex for ids

qqline

a logical

cook.levels

a logical

add.smooth

a logical

label.pos

position for labels, one of "left" or "right"

cex.caption

cex for the caption

panel

a panel function

See Also

plot.

Examples

1
2
x <- runif(20)
xplot( lm ( 2*x + 5 + rnorm(20) ~ x ) )

fastR documentation built on May 1, 2019, 11:18 p.m.