Learn R Programming

lattice (version 0.3-1)

rfs: Residual and Fit Spread Plots

Description

Plots fitted values and residuals (via qqmath) on a common scale for any object that has methods for fitted values and residuals.

Usage

rfs(model, layout=c(2, 1), xlab="f-value", ...)

Arguments

model
a fitted model object with methods fitted.values and residuals. Can be the value returned by oneway
layout
default layout is c(2,1)
xlab
defaults to "f.value"
...
other arguments

Value

  • an object of class trellis, by default plotted by print.trellis.

synopsis

rfs(model, layout=c(2, 1), xlab="f-value", ylab=NULL, panel, prepanel, strip, ...)

See Also

oneway, qqmath, trellis.args, Lattice

Examples

Run this code
data(singer)
rfs(oneway(height ~ voice.part, data = singer, spread = 1), aspect = 1)

Run the code above in your browser using DataLab