Learn R Programming

SensMixed (version 2.1-0)

plotLSMEANS: plots bars for the LSMEANS or differences of LSMEANS

Description

plots bars for the LSMEANS or differences of LSMEANS for product factors and confidence intervals

Usage

plotLSMEANS(table, response, 
                        which.plot=c("LSMEANS", "DIFF of LSMEANS"), 
                        main = NULL, cex = 1.4, effs = NULL, mult = TRUE)

Arguments

table

data table containing LSMEANS/ DIFFLSMEANS table from the step function of the lmerTest package

response

vector with the name of the attribute, for which the LSMEANS / DIFFLSMEANS are calculated

which.plot

name, indicating the type of plot to generate.

main

name of the title for the plot

cex

cex for representing the plot (UNUSED?..)

effs

vector with the names for the effects, for which to plot the LSMEANS / DIFFLSMEANS

mult

logical. TRUE means plot LSMEANS for all effects in one layout

other potential arguments.

Value

barplots created via ggplot2 package