Builds a family of intercation contrasts for complete two-factorial designs.
a vector of two character strings, specifying the contrast
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*k columns and a number of rows depending on type.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.