panel.smooth.line: Panel Function for Plotting Regression Line

Description Usage Arguments Value Author(s) Examples

View source: R/mt_util.R

Description

lattice panel function for plotting regression line with red colour.

Usage

1

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

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

mt documentation built on Feb. 2, 2022, 1:07 a.m.