Hexbin plots can be viewed as an alternative to scatter plots. The hexagon-shaped bins were introduced to plot densely packed sunflower plots. They can be used to plot scatter plots with high-density data. We will use the
hexbin package available in R to plot hexagon-shaped bins on a plot instead of a sunflower.
To generate a hexbin plot, we will use the
hexbin package in R along with the generic
library() functions assist in installing the package as well as loading it in R:
For the purpose of this recipe, we will ...