Plot Factorial
plotFactorial.RdProvides a plot of all group or level means and their confidence intervals in a factorial or mixed design.
Usage
# S3 method for class 'data.frame'
plotFactorial(frame, by, ylab="Outcome", xlab="", conf.level=.95)
# S3 method for class 'formula'
plotFactorial(formula, by, ylab="Outcome", xlab="", conf.level=.95)
# S3 method for class 'wsm'
plotFactorial(moments, ylab="Outcome", xlab="", conf.level=.95)
# S3 method for class 'bsm'
plotFactorial(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 ~ rhswherelhsis a numeric variable giving the data values andrhsa 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