
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
plotMeans(response, factor1, factor2,
error.bars = c("se", "sd", "conf.int", "none"), level=0.95,
xlab = deparse(substitute(factor1)),
ylab = paste("mean of", deparse(substitute(response))),
legend.lab = deparse(substitute(factor2)), main = "Plot of Means",
pch = 1:n.levs.2, lty = 1:n.levs.2, col = palette(), ...)
"se"
, the default, error bars around means
give plus or minus one standard error of the mean; if "sd"
, error
bars give plus or minus one standard deviation; if "conf.int"
, error
bars give a confidenplot
.NULL
.interaction.plot
with(Moore, plotMeans(conformity, fcategory, partner.status, ylim=c(0, 25)))
Run the code above in your browser using DataLab