panel.smooth.line {mt}R Documentation

Panel Function for Plotting Regression Line

Description

lattice panel function for plotting regression line with red colour.

Usage

panel.smooth.line(x, y,...) 

Arguments

x, y

Variables to be plotted.

...

Further arguments. See corresponding entry in xyplot for non-trivial details.

Value

An object of class "trellis".

Author(s)

Wanchang Lin

Examples

library(lattice) 
data(iris)
splom(~iris[,1:4], varname.cex = 1.0, pscales = 0, panel = panel.smooth.line)

[Package mt version 2.0-1.20 Index]