Description Usage Arguments Value
This works by identifying the number of unique points in the variables mapped to the x and y axes.
1 | heatmap_dims(p)
|
p |
a ggplot2 heatmap (or any ggplot with x and y mappings) |
a list with the number of rows and columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.