Generates a hexagonal heatmap of 2d bin counts (see ggplot2::geom_hex)
1 | plot_hexagonal(args = list())
|
args |
list of arguments. Mandatory arguments : a data.frame 'df', x and y plot variables 'xvar' and 'yvar'. Other arguments can include : 'bins' : numeric, number of bins, passed to 'ggplot2::geom_hex()' 'use_log10_count' : logical, transform bin counts using log10 'option' : name of the viridis palette |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.