Arguments
trt.N
integer, specifying number of treatments, v.
blk.N
integer, specifying number of arrays, b.
theta
numeric, representing a function of the ratio of random array variance and random error variance. It takes any value between 0 and 1, inclusive.
OptdesF
matrix, a 2 x b obtained optimal or near-optimal block design.
Optcrit
character specifying the optimality criteria to be used. Thus, Optcrit takes the letter "A", "MV","D" and "E" for A-, MV-, D- and E-optimal or near-optimal block designs, respectively.
cbVal2
checkbox value. It takes a value of zero or one. The default value of cbVal2 is 0. Thus, if cbVal2 = 0, the function will display the graphical layout of the resultant optimal design generated using the treatment exchange algorithm. Similarly, if cbVal = 1, the function will display the graphical layout of the resultant optimal design generated using the array exchange algorithm.