ic: Confidence intervals of contrasts

View source: R/ic.R

icR Documentation

Confidence intervals of contrasts

Description

Estimate of confidence intervals of the contrasts

Usage

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

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

Value

Returns confidence intervals of the contrasts

Author(s)

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


#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)



easyanova documentation built on Sept. 17, 2024, 1:08 a.m.