Description Usage Arguments Details Value See Also Examples

Builds a family of intercation contrasts for complete two-factorial designs.

1 | ```
IAcontrasts(type, k)
``` |

`type` |
a vector of two character strings, specifying the contrast |

`k` |
a vector of two integers, specifying the number of groups in each factor of the two-factorial design |

Creates contrast matrices using `contrMat`

from package multcomp, creates the kronecker product of both and creates suitable columnnames.

A matrix with k[1]*k[2] columns and a number of rows depending on type.

for 2-way interaction contrasts directly based on 2 contrasts matrices, see `IAcontrastsCMAT`

;
two possibilities to specify appropriate rownames are implemented in function `c2compnames`

1 2 3 4 5 6 | ```
IAC<-IAcontrasts(type=c("Tukey", "Tukey"), k=c(3,4))
IAC
IAC2<-c2compnames(IAC, ntype="sequ")
IAC2
``` |

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.