Plot Means Factorial
plotMeansFactorial.Rd
Provides a plot of all group or level means and their confidence intervals in a factorial or mixed design.
Usage
# S3 method for data.frame
plotMeans(frame, by, ylab="Outcome", xlab="", conf.level=.95)
# S3 method for formula
plotMeans(formula, by, ylab="Outcome", xlab="", conf.level=.95)
# S3 method for wsm
plotMeans(moments, ylab="Outcome", xlab="", conf.level=.95)
# S3 method for bsm
plotMeans(moments, ylab="Outcome", xlab="", conf.level=.95)
Arguments
- frame
a set of (non-empty) numeric vectors of data values
- formula
a formula of the form
lhs ~ rhs
wherelhs
is a numeric variable giving the data values andrhs
a factor giving the corresponding groups- moments
a matrix/frame of descriptive/summary statistics
- by
a blocking factor
- ylab
a label for the y-axis
- xlab
a label for the x-axis
- conf.level
confidence level of the interval