1 | cast_wrapper(X, row_var, col_var, value_var = NULL, aggregate_fun = "sum")
|
X |
The data set to cast |
row_var |
The variable whose unique values will determine the rows. |
col_var |
The variable whose unique values will determine the columns. |
value_var |
The variable to use to fill in the cells of the wide matrix. |
aggregate_fun |
The name of a function to use to summarize many elements with the same row_var / col_var identification. Must be one of |
The wide version of X.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.