panel.smooth.line | R Documentation |
lattice panel function for plotting regression line with red colour.
panel.smooth.line(x, y,...)
x , y |
Variables to be plotted. |
... |
Further arguments. See corresponding entry in
|
An object of class "trellis"
.
Wanchang Lin
library(lattice)
data(iris)
splom(~iris[,1:4], varname.cex = 1.0, pscales = 0, panel = panel.smooth.line)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.