Description Usage Arguments Value Note Author(s) See Also Examples

Produces a matrix whose rows correspond to an orthogonal binary design matrix.

1 | ```
designMatrix(n)
``` |

`n` |
integer containing the number of elements in the set. |

An integer matrix of dimension 2^n by 2^n containing 1 and -1.

The output matrix has orthogonal columns and is symmetric, so (up to a constant) is its own inverse.

Robin Evans

1 | ```
designMatrix(3)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.