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

The function generates the design matrix provided the number of 2-levels design factors and defining relations.

1 | ```
ffDesMatrix(k, gen = NULL)
``` |

`k` |
numeric. The number of 2-levels design factors in the designs. |

`gen` |
list. If |

A defining relation is declared by a vector where the first entry
corresponds to the left hand side (LHS) of the defining
equation. For example, if `k=5`

, and `gen=list(c(-5,1,2,3,4))`

,
then the defining equation is *-5=1*2*3*4*. A full 2-levels (-1,1)
factorial design is generated. For each defining relation the LHS column
is replaced by the corresponding columns product. At the end repeated
runs are removed from the matrix.

The function returns a 2-levels design matrix with `k`

columns.

Ernesto Barrios

`conf.design`

of the
conf.design package,
`FrF2`

from the FrF2 package.

1 2 3 | ```
ffDesMatrix(5) # Full 2^5 factorial design
ffDesMatrix(5,gen=list(c(5,1,2,3,4))) # 2^(5-1) factorial design
ffDesMatrix(5,gen=list(c(4,1,2),c(-5,1,3))) # 2^(5-2) factorial design
``` |

BHH2 documentation built on May 29, 2017, 9:01 a.m.

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.