Learn R Programming

easyanova (version 11.0)

ic: Confidence intervals of contrasts

Description

Estimate of confidence intervals of the contrasts

Usage

ic(data, test=1, df=10, alpha=0.05)

Value

Returns confidence intervals of the contrasts

Arguments

data

output object of ea1 or ea2 function (see examples)

test

Letters of the post-hoc test 1=Tukey 2=SNK 3=Duncan 4=t 5=Scott-Knott

df

degree of freedom of residuals in anova

alpha

significance level

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

# alpha = 0.10
ic(r[[2]], test=1, df=6, alpha=0.10) 


# split plot
data('data7')
r<-ea2(data7,4)

#plot
ic(r[2], df=15)

#split.plot
ic(r[4], df=45)


Run the code above in your browser using DataLab