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

Contrasts for orthogonal Fractional Factorial 2-level designs

1 | ```
contr.FrF2(n, contrasts=TRUE)
``` |

`n` |
power of 2; number of levels of the factor for which contrasts are to be generated |

`contrasts` |
must always be |

This function mainly supports `-1/+1`

contrasts for 2-level factors.
It does also work if the number of levels is a power of 2.
For more than four levels, the levels of the factor must be in an appropriate order
in order to guarantee that the columns of the model matrix for an FrF2-derived structure
are orthogonal.

The function returns orthogonal contrasts for factors with number of levels a power of 2.
All contrast columns consist of `-1`

and `+1`

entries (half of each).
If factors in orthogonal arrays
with 2-level factors are assigned these contrasts, the columns of the model matrix
for the main effects model are orthogonal to each other and to the column for the intercept.

This package is currently under intensive development. Substantial changes are to be expected in the near future.

Ulrike Groemping

See Also `contrasts`

, `FrF2`

,
`fac.design`

, `oa.design`

, `pb`

1 2 3 4 |

DoE.base documentation built on Aug. 23, 2018, 1:03 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.