Learn R Programming

easyanova (version 11.0)

ic.plot: Plot confidence intervals of contrasts

Description

Plot confidence intervals of contrasts

Usage

ic.plot(data,col="dark green", cex=0.5, xlab="constrats",
pch=19,family="Times", bg="white",...)

Value

Plot confidence intervals of contrasts

Arguments

data

output object of ic (see examples)

col

colours of lines

cex

size of points

xlab

title of x-axis

pch

type of points

family

font of plot

bg

background color

...

more plot parameters

Author

Emmanuel Arnhold <emmanuelarnhold@yahoo.com.br>

References

KAPS, M. and LAMBERSON, W. R. Biostatistics for Animal Science: an introductory text. 2nd Edition. CABI Publishing, Wallingford, Oxfordshire, UK, 2009. 504p.

See Also

ea1,ea2, box.plot, means.plot, means.plotfat, ic.plot, p.plot

Examples

Run this code

#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
#means
means=r[[2]]
means
ic(means, test=1, df=6) # tukey

#intervals
conf=ic(means, test=1, df=6)

#plot intervals
ic.plot(conf)

#more plot parameters
ic.plot(conf, las=2, bg="cornsilk");grid(10)



Run the code above in your browser using DataLab