ibdtvc {ibd} | R Documentation |
Incomplete Block Design for Test vs Control(s) Comparions
Description
Generates an incomplete block design for test vs control(s) comparisons with specified parameters and concurrence matrix.
Usage
ibdtvc(v1,v2,b,k,NNPo,ntrial=5,pbar=FALSE)
Arguments
v1 |
number of test treatments |
v2 |
number of control treatments |
b |
number of blocks |
k |
block size |
NNPo |
desired concurrence matrix |
ntrial |
number of trials, default is 5 |
pbar |
logical value indicating whether progress bar will be displayed. Default is FALSE. |
Value
v1=v1,v2=v2,b=b,k=k,design=design,N=N, NNP=NNP,Aeff=Aeff)
v1 |
number of test treatments |
v2 |
number of control treatments |
b |
number of blocks |
k |
block size |
design |
generated block design |
N |
treatment by block incidence matrix of the generated block design |
NNP |
concurrence matrix of the generated design |
Author(s)
Baidya Nath Mandal <mandal.stat@gmail.com>
References
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
Examples
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)