Learn R Programming

languageR (version 0.2)

xylowess.fnc: Trellis scatterplot with smoothers

Description

Convenience function for trellis scatterplots with smoothers added.

Usage

xylowess.fnc(fmla = Rating ~ Frequency | Subject, data = weight, 
  span = 2/3, symbolcolor = "darkgrey", 
  linecolor = "blue", xlabel = "", ylabel = "")

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.

Value

  • A trellis scatterplot matrix with smoothers is shown on the graphics device.

See Also

See also xyplot.

Examples

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

Run the code above in your browser using DataLab