contrast2name | R Documentation |
Create rownames for a contrast matrix using the coefficients and the names of the coefficients. The rownames will be [value * name] == null, e.g. [beta + 4*alpha] = 0.
.contrast2name(contrast, null = NULL, sep = c("[", "]"))
contrast |
[matrix] a contrast matrix defining the left hand side of the linear hypotheses to be tested. |
null |
[vector, optional] the right hand side of the linear hypotheses to be tested. |
sep |
[character of length 2, optional] character used in rownames to wrap the left hand side of the equation. |
When argument NULL
is null then the rownames will not be put into brackets and the right hand side will not be added to the name.
a character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.