Constructs randomized nested block designs with arbitrary depth of nesting for arbitrary unstructured treatment sets.
The treatments
parameter is a set of numbers that partitions the total number of treatments into equally
replicated treatment sets while the replicates
parameter is a matching set of numbers that defines the replication of each equally
replicated treatment set.
The rows
parameter, if any, defines the number of nested row blocks for each level of nesting from the highest to the lowest. The
first number, if any, is the number of nested row blocks in the first-level of nesting, the second number, if any, is the number of nested row blocks in
the second-level of nesting and so on down to any required feasible depth of nesting.
The columns
parameter, if any, defines the numbers of nested columns for each level of nesting,
where the first number is the
number of column blocks crossed with the first set of nested row blocks, the second is the number of column blocks crossed with the second
set of nested row blocks and so on for each level of the rows
parameter.
If the rows
and columns
parameters are both defined they must be of equal length. If the number of columns for any
particular level of nesting is one, then that particular level of nesting will have a simple set of nested row blocks.
If both the rows
parameter and the columns
parameter are null, the default block design will be a set of orthogonal
main blocks equal in number to the highest common factor of the replication numbers. If the rows
parameter is defined but the columns
parameter is null, the design will be a simple nested blocks design with nested block levels defined by the levels of the rows
parameter.
Block sizes are as nearly equal as possible and will never differ by more than a single plot for any particular block classification.
Row blocks and column blocks always contain at least two plots per block and this restriction will constrain the permitted numbers of
rows and columns for the various nested levels of a block design.
Unreplicated treatments are allowed and any simple nested block design can be augmented by any number of single unreplicated treatments
to give augmented blocks that never differ in size by more than a single plot. General crossed block designs are more complex and currently
the algorithm will only accommodate single unreplicated treatments in a crossed block design if the block sizes of the replicated part of
the design are all equal in each nested level of the design.
For any particular level of nesting, the algorithm first optimizes the row blocks conditional on the next higher-level of blocks
and then optimizes the columns blocks, if any, conditional on the rows blocks.
Special designs:
Trojan designs are row-and-column designs for p replicates of v*p treatments arranged in p-rows and p-columns where v < p and
where every row x column intersection contains v plots. Trojan designs have orthogonal rows and columns and optimal rows x columns
blocks and exist whenever p is prime or prime-power. Trojan designs are constructed algebraically from mutually
orthogonal Latin squares (MOLS).
Square lattice designs are resolvable incomplete block designs for r replicates of p*p treatments arranged in blocks of size p where
r < p+2 for prime or prime power p or r < 4 for general p. Square lattice designs are constructed algebraically from Latin squares or MOLS.
Lattice designs and Trojan designs based on prime-power MOLS require the MOLS
package.
All other designs are constructed algorithmically using the D-optimality criterion.
Comment:
Row-and-column designs may contain useful treatment information in the individual row-by-column intersection blocks but the blocks
function
does not currently
optimize the efficiency of these blocks except for the special case of Trojan designs.
Row-and-column design with 2 complete treatment replicates, 2 complete rows and 2 complete columns will always confound one treatment contrast in the
rows-by-columns interaction. For these designs, it is impossible to nest a non-singular block design in the rows-by-columns intersections and instead
we suggest a randomized nested blocks design with four incomplete main blocks.
Outputs:
The principle design outputs comprise:
A data frame showing the allocation of treatments to blocks with successive nested strata arranged in standard block order.
A table showing the replication number of each treatment in the design.
A table showing the block levels and the achieved D-efficiency and A-efficiency factor for each nested level together
with A-efficiency upper bounds, where available.
A plan showing the allocation of treatments to blocks or to rows and to columns in the bottom level of the design.