powered by
Create a hexgrid plot
geom_hexgrid( mapping = NULL, data = NULL, stat = "hexgrid", position = "identity", show.legend = NA, na.rm = FALSE, inherit.aes = TRUE, ... )
A `ggplot2` layer object.
Aesthetic mappings for the plot.
The data to be plotted.
The statistical transformation to be applied.
The position adjustment to be applied.
Whether to show the legend for this layer.
Whether to remove missing values.
Whether to inherit aesthetics from the plot or the layer.
Additional arguments to be passed to the `layer` function.
df_bin_centroids <- scurve_model_obj$model_2d |> dplyr::filter(n_h > 10) ggplot2::ggplot() + geom_hexgrid(data = df_bin_centroids, mapping = ggplot2::aes(x = c_x, y = c_y))
Run the code above in your browser using DataLab