Description Usage Arguments Details Value
Create a contrast matrix for computing statistical difference in means between levels of a design. For example if your model is based on a single multi-level factor and you want to compare the average values of one level verses another within the context of the full model then you'd specify those levels in this function and then call on mwlsr.contrastTest to perform the test.
1 | mwlsr.makeContrast(y, lvls, x = NULL)
|
y |
First level or levels to contrast. |
lvls |
Either the factor levels or a full length factor vector or the design matrix from the mwlsr object or the mwlsr object itself. |
x |
Factor level or levels to contrast against those specified in
|
Levels specified for y
or x
must match levels
in the design matrix associated with the model you plan to perform
the contrast test within.
Single-column matrix specifying the contrast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.