Learn R Programming

agricolae (version 1.0-1)

BIB.test: Finding the Variance Analysis of the Balanced Incomplete Block Design

Description

Analysis of variancia BIB and comparison mean adjusted.

Usage

BIB.test(block, trt, y, method = "lsd", alpha = 0.05, group = TRUE)

Arguments

block
blocks
trt
Treatment
y
Response
method
Comparison treatments
alpha
Significant test
group
logical

Value

  • blockVector
  • trtVector
  • ynumeric vector
  • methodCharacter
  • alphaNumeric
  • groupTRUE or FALSE

Details

Method of comparison treatment. lsd: least significant difference. tukey: Honestly significant differente. waller: test Waller-Duncan.

References

Design of Experiments. Robert O. Kuehl. 2nd ed., Duxbury, 2000

See Also

durbin.test

Examples

Run this code
library(agricolae)
# Example Design of Experiments. Robert O. Kuehl. 2da. Edicion. 2001
run<-gl(10,3)
psi<-c(250,325,475,250,475,550,325,400,550,400,475,550,325,475,550,
250,400,475,250,325,400,250,400,550,250,325,550,325,400,475)
monovinyl<-c(16,18,32,19,46,45,26,39,61,21,35,55,19,47,48,20,33,31,13,13,34,	21,
 30,52,24,10,50,24,31,37)
out<-BIB.test(run,psi,monovinyl,method="waller",group=FALSE)
out<-BIB.test(run,psi,monovinyl,method="waller",group=TRUE)
out<-BIB.test(run,psi,monovinyl,method="tukey",group=TRUE)
out<-BIB.test(run,psi,monovinyl,method="tukey",group=FALSE)
bar.err(out,density=4,ylim=c(0,60))

Run the code above in your browser using DataLab