These functions all behave similarly to the functions with the initial
x
removed from their names.
xplot(x, ...)# S3 method for default
xplot(...)
# S3 method for 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)
A numeric vector or formula.
arguments passed to other functions.
A numeric vector indicating which plots to produce
caption for the plot
default panel function
secondary caption
as in xyplot
a logical
a logical
as in xyplot
as in xyplot
color for added lines
color for lines
color for symbols
as in xyplot
a numeric
a character vector of labels
cex for ids
a logical
a logical
a logical
position for labels, one of "left"
or "right"
cex for the caption
a panel function
plot
.
# NOT RUN {
x <- runif(20)
xplot( lm ( 2*x + 5 + rnorm(20) ~ x ) )
# }
Run the code above in your browser using DataLab