createContrast | R Documentation |
Create contrast by finding matrix values in the design matrix. Values are assigned based if present in matrix (v1 or v2) else 0.
createContrast(design, matrix_v1, matrix_v2)
design |
String, in use design matrix |
matrix_v1 |
Vector, containing the left matrix values |
matrix_v2 |
Vector, containing the right matrix values |
contrast, (vector) containing the contrasts (0, 1, -1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.