Description Usage Arguments Value
Convert a dataframe to a matrix
1 | convert_table_to_matrix(df, column_var, cell)
|
df |
A data frame with three columns: a row variable, a column variable, and a value variable. |
column_var |
The name of the variable to use for columns. |
cell |
The name of the variable to use for filling the matrix. |
a square matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.