ga_list
.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
.
aes_matrix(df, value, column_names = FALSE)
A matrix based on the dimensions of df
and value
.
A data.frame/matrix the resulting matrix will get its dimensions from.
The single value that will make up the cells of the resulting matrix.
A TRUE/FALSE value indicating if the resulting aesthetic matrix is intended to be used for the column names.