
Last chance! 50% off unlimited learning
Sale ends in
Plot p values of the contrasts
p.plot(data, ylab="", xlab="", col.lines="red", cex.axis=0.7,
cex=0.9 , col.text="dark green",family="Times", bg="white",...)
Plot p values of the contrasts
output object of ea1 or ea2 function (see examples)
title of y-axis
title of x-axis
colours of the lines
font size in axis
size of points
colours in letters and means
font of plot
background color
more plot parameters
Emmanuel Arnhold <emmanuelarnhold@yahoo.com.br>
KAPS, M. and LAMBERSON, W. R. Biostatistics for Animal Science: an introductory text. 2nd Edition. CABI Publishing, Wallingford, Oxfordshire, UK, 2009. 504p.
ea1,ea2, box.plot, means.plot, means.plotfat, ic, ic.plot, m.plot
#data3: Kaps and Lamberson (2009): page 347
#Description:
##Latin square design for test four different treatments on hay intake of fattening steers
data(data3)
r<-ea1(data3, design=3)
#plot
contrasts=r[[3]]
contrasts
p.plot(contrasts)
#direct
p.plot(r[3])
# more graphical parameters
p.plot(contrasts, bg="cornsilk", cex=1.5,cex.axis=1.5,
main="P-values of the tukey contrasts",family="sans");grid(10)
data('data7')
r<-ea2(data7,4)
p.plot(r[[5]], bg="cornsilk");grid(10)
par(mfrow=c(1,2))
p.plot(r[[9]][1], xlab="treatment 1", cex=0.5, bg="cornsilk");grid(10)
p.plot(r[[9]][2], xlab="treatment 2", cex=0.5, bg="cornsilk");grid(10)
Run the code above in your browser using DataLab