powered by
This function computes lower bound to A-efficiency of incomplete block design for test vs control(s) comparisons
A_eff_tc(N,v1,v2,b,k)
incidence matrix
number of test treatments
number of control treatments
number of blocks
block size
A-efficiency of the design
# NOT RUN { N=matrix(c(1,1,0,0,0,0,0,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,1,1,1),nrow=5,byrow=TRUE) A_eff_tc(N,4,1,5,3) # }
Run the code above in your browser using DataLab