Plot Means Posthoc
plotMeansPosthoc.Rd
Provides a plot of all Tukey HSD comparisons and their confidence intervals.
Usage
# S3 method for default
plotMeansPosthoc(frame, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, values=TRUE, main=NULL, ylim=NULL, digits=3)
# S3 method for formula
plotMeansPosthoc(formula, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, values=TRUE, main=NULL, ylim=NULL, digits=3)
# S3 method for wss
plotMeansPosthoc(DescStats, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, values=TRUE, main=NULL, ylim=NULL, digits=3)
# S3 method for bss
plotMeansPosthoc(DescStats, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, 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- DescStats
a matrix/frame of descriptive/summary statistics
- ylab
a label for the y-axis
- xlab
a label for the x-axis
- mu
a number indicating the true/hypothesized value of the mean
- conf.level
confidence level of the interval
- line
a number for a horizontal reference line
- rope
lower and upper values for a region of practical equivalence
- 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
Value
The returned plot contains the following components:
- Diff
the differences between the pairs of means
- LL
the lower limits of the confidence intervals for the differences
- UL
the upper limits of the confidence intervals for the differences
- mu
a horizontal line for the true/hypothesized value
- rope
a shaded region of practical equivalence