Learn R Programming

languageR (version 1.6)

xylowess.fnc: Trellis scatterplot with smoothers

Description

Convenience function for trellis scatterplots with smoothers added.

Usage

xylowess.fnc(fmla, data, 
  span = 2/3, symbolcolor = "darkgrey", 
  linecolor = "blue", xlabel = "", ylabel = "", ...)

Value

A trellis scatterplot matrix with smoothers is shown on the graphics device. Code builds on xyplot from the lattice package.

Arguments

fmla

A formula.

data

A dataframe.

span

Span for the smoother.

symbolcolor

Color for plot symbols.

linecolor

Color for smoother.

xlabel

Label for horizontal axis.

ylabel

Label for vertical axis.

...

Arguments to be passed to methods.

Author

R. H. Baayen

Examples

Run this code
if (FALSE) {
  data(weightRatings)
  xylowess.fnc(Rating ~ Frequency | Subject, data = weightRatings,
    xlab = "log Frequency", ylab = "Weight Rating")
}

Run the code above in your browser using DataLab