This function generates an incomplete block design for test vs control(s) comparisons with specified parameters and concurrence matrix.
ibdtvc(v1,v2,b,k,NNPo,ntrial=5,pbar=FALSE)
v1=v1,v2=v2,b=b,k=k,design=design,N=N, NNP=NNP,Aeff=Aeff)
number of test treatments
number of control treatments
number of blocks
block size
generated block design
treatment by block incidence matrix of the generated block design
concurrence matrix of the generated design
number of test treatments
number of control treatments
number of blocks
block size
desired concurrence matrix
number of trials, default is 5
Logical value indicating whether progress bar will be displayed. Default is FALSE.
B N Mandal <mandal.stat@gmail.com>
Mandal, B. N., Gupta, V.K. and Parsad, R. (2013). Binary Incomplete Block Designs with a Specified Concurrence Matrix through Integer Programming, to be submitted for publication
NNPo=matrix(c(7,3,3,3,3,3,3,3,3,7,3,3,3,3,3,3,3,3,7,3,3,3,3,3,3,3,3,7,3,3,3,3,3,3,3,3,7,
3,3,3,3,3,3,3,3,7,3,3,3,3,3,3,3,3,9,9,3,3,3,3,3,3,9,9),nrow=8,byrow=TRUE)
ibdtvc(6,2,15,4,NNPo)
Run the code above in your browser using DataLab