Description Usage Arguments Value
Create a matrix based off the dimensions of a data.frame/matrix and a single
value to make up its cells. Designed to be used as an aesthetic matrix within
ga_list
.
1 | aes_matrix(df, value, column_names = FALSE)
|
df |
A data.frame/matrix the resulting matrix will get its dimensions from. |
value |
The single value that will make up the cells of the resulting matrix. |
column_names |
A TRUE/FALSE value indicating if the resulting aesthetic matrix is intended to be used for the column names. |
A matrix based on the dimensions of df
and value
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.