Description Usage Arguments Value Author(s) Examples
View source: R/OneWayVarPlot.R
Displays a threepanel bwplot
of the data by group, of the group
means, and of the entire dataset. This is an approximate visualization
of the Mean Square lines from the ANOVA table for a oneway ANOVA model.
The groups are centered using medians by default. Means, and anything
else, is an option.
1 2 3 4  OneWayVarPlot(x, data, ...,
main="Variability of Groups, Centers of Groups, and all Data",
centerFunctionName="median",
center=TRUE)

x 
Model formula with one response variable and one factor. 
data 

... 
Other arguments to be forwarded to the panel function. 
main 

centerFunctionName 
Name of centering function, with

center 
Logical. If 
Threepanel trellis
object.
Richard M. Heiberger <[email protected]>
1 2  data(batch)
OneWayVarPlot(Calcium ~ Batch, data = batch)

Loading required package: lattice
Loading required package: grid
Loading required package: latticeExtra
Loading required package: RColorBrewer
Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival
Loading required package: TH.data
Loading required package: MASS
Attaching package: 'TH.data'
The following object is masked from 'package:MASS':
geyser
Loading required package: gridExtra
Warning messages:
1: In formals(fun) : argument is not a function
2: In formals(fun) : argument is not a function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.