##
## Examples: Completely Randomized Design (CRD)
## More details: demo(package='TukeyC')
##
library(TukeyC)
data(CRD1)
## From: formula
# Simple!
tk1 <- TukeyC(y ~ x,
data=CRD1$dfm,
which='x')
boxplot(tk1)
# A little more elaborate!
boxplot(tk1,
mean.lwd=1.3,
mean.col='red')
# A little more!
boxplot(tk1,
mean.lwd=1.3,
mean.lty=2,
mean.col='red',
args.legend=list(x='bottomleft'))
# With point type!
boxplot(tk1,
mean.type='point')
boxplot(tk1,
mean.type='point',
mean.pch=19,
cex=1.5,
mean.col='red')
# With other point
boxplot(tk1,
mean.type='point',
mean.pch='+',
cex=2,
mean.col='blue',
args.legend=list(x='bottomleft'))
Run the code above in your browser using DataLab