# Checking Simple Block and Row-Column Designs for Balance

### Description

A function to check a simple block or a row-column design for balance. The rows and columns of the design are blocking variables. It is checked which type of balance the design fulfills. Optionally, incidence and concurrence matrices are given.

### Usage

1 |

### Arguments

`d` |
A matrix representing the experimental design. The treatments must be numbered 1,..., |

`tables` |
Logical flag. If TRUE, incidence matrices are displayed. |

`type` |
Logical flag. If TRUE, the type of design is displayed. |

### Details

A design is said to be a balanced block design if the following three conditions hold:
i) Each treatment appears equally often in the design.
ii) The design is binary in the sense that each treatment appears in each block either *n* or *n*+1 times
where *n* is an integer.
iii) The number of concurrences of treatments *i* and *j* is the same for all
pairs of distinct treatments *(i,j)*.
Here the blocks are either rows or columns.

A design that has less columns (rows) than treatments is said to be incomplete with respect to rows (columns). A design that is balanced with respect to both rows and columns is called a generalized Youden design (GYD). A GYD for which each treatment occurs equally often in each row (column) is called uniform on the rows (columns). If both conditions hold, it is called a generalized latin square. A design where each treatment occurs exactly once in each row and column is called a latin square.

### Value

A list containing information about balance in rows and columns as well as incidence and concurrence matrices for the design.

### Author(s)

Oliver Sailer

### See Also

`isCbalanced`

### Examples

1 2 3 4 5 6 7 8 9 10 11 12 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.