Plot Moments
plotMoments.Rd
Provides a plot of all group or level means and standard deviations.
Usage
# S3 method for data.frame
plotMoments(frame, ylab="Outcome", xlab="", values=TRUE, main=NULL, ylim=NULL, digits=3)
# S3 method for formula
plotMoments(formula, ylab="Outcome", xlab="", values=TRUE, main=NULL, ylim=NULL, digits=3)
# S3 method for wsm
plotMoments(moments, ylab="Outcome", xlab="", values=TRUE, main=NULL, ylim=NULL, digits=3)
# S3 method for bsm
plotMoments(moments, ylab="Outcome", xlab="", values=TRUE, main=NULL, ylim=NULL, digits=3)
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
- ylab
a label for the y-axis
- xlab
a label for the x-axis
- values
whether the points should be labeled with their values
- main
a custom title for the graph
- ylim
custom limits for the y axis
- digits
the specified number of decimal places