powered by
Creates the points that define a hexagon polygon for plotting
fortify_hexagon(data, sf_id, hex_size)
a data frame of the seven points used to draw a hexagon
a data frame created by the allocate function
a string to indicate the column to identify individual polygons
a float value in degrees for the diameter of the hexagons
# same column is used in create_centroids fortify_hexagon(data = tas_lga_hexctr, sf_id = "lga_code_2016", hex_size = 0.2)
Run the code above in your browser using DataLab