raw2matrix | R Documentation |
Converts a numeric data frame D with three columns (x, factor 1, factor 2) to a numeric matrix M where rows are ranks of levels of factor 1 and columns are ranks of levels of factor 2, missing values are set to NA.
raw2matrix(D)
D |
Data frame with three columns (x, factor 1, factor 2) |
M |
Numeric matrix where rows are ranks of levels of factor 1 and columns are ranks of levels of factor 2, missing values are set to NA. |
Joerg Schaber
data(DWD) raw2matrix(DWD)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.