rowdiffs | R Documentation |
Returns all pairwise difference of rows of a matrix with
rownames formed with the corresponding rownames of the original
matrix. The main application is to estimate differences between
treatment levels given a linear hypothesis matrix, L, in which
each row estimates a function of model parameter given
a level of a categorical variable. rowdiffs
provides
an analog to differentiation
(see Lfx
) for categorical variables.
rowdiffs(L)
L |
a matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.