powered by
Plots fitted values and residuals (via qqmath) on a common scale for any object that has methods for fitted values and residuals.
rfs(model, layout=c(2, 1), xlab="f-value", ylab=NULL, distribution = qunif, panel, prepanel, strip, …)
a fitted model object with methods fitted.values and residuals. Can be the value returned by oneway
fitted.values
residuals
oneway
default layout is c(2,1)
defaults to "f.value"
"f.value"
the distribution function to be used for qqmath
qqmath
See xyplot
xyplot
other arguments, passed on to qqmath.
An object of class "trellis". The update method can be used to update components of the object and the print method (usually called by default) will plot it on an appropriate plotting device.
"trellis"
update
print
oneway, qqmath, xyplot, Lattice
Lattice
# NOT RUN { rfs(oneway(height ~ voice.part, data = singer, spread = 1), aspect = 1) # }
Run the code above in your browser using DataLab