Rearrange the rows and columns of the input so that the first row and first column are baseline. This function is for rank-zero row-column interaction models (RCIMs; i.e., general main effects models).
Rcim(mat, rbaseline = 1, cbaseline = 1)
Matrix, of dimension r by c. It is best that it is labelled with row and column names.
Numeric (row number of the matrix
This is a data preprocessing function for
For rank-zero row-column interaction models this function
establishes the baseline (or reference) levels of the matrix
response with respect to the row and columns—these become
the new first row and column.
Matrix of the same dimension as the input,
cbaseline specifying the
first rows and columns.
The default is no change in
This function is similar to
moffset for information about the differences.
If numeric, the arguments
differ from arguments
by 1 (when elements of the matrix agree).
Alfian F. Hadi and T. W. Yee.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.