plotcontrast: Function to plot a contrast matrix in a tile plane with...

Description Usage Arguments Author(s) Examples

Description

This function plots a matrix of contrasts in a tile plane with rectangles. It is very useful to display more complicated contrast matrices like product type interaction contrast matrices.

Usage

1

Arguments

cmat

a contrast matrix in which the rownames represent the names for the comparisons of interest and the colnames represent the levels of the factor of interest

Author(s)

Frank Schaarschmidt

Examples

1
2
3
4
5
6
7
8
9
fa<-factor(rep(rep(LETTERS[1:5], rep(4,5)), each=3))
fb<-factor(rep(rep(c(1,2,3,4), rep(3,4)), times=5))

cma<-contrMat(table(fa), type="Dunnett")
cmb<-contrMat(table(fb), type="Tukey")

InteractionMatrix<-iacontrast(fa=fa, fb=fb, cma=cma, cmb=cmb, method="c")

plotcontrast(InteractionMatrix$cmab)

AKitsche/statint documentation built on May 5, 2019, 11:30 a.m.