powered by
This function generates the coordinates of hexagons after passing hexagonal centroids.
gen_hex_coord(centroids_data, a1)
A tibble contains hexagon id (h), x and y coordinates (x, y) of hexagons.
h
x
y
The dataset with all hexagonal bin IDs and centroid coordinates.
The width of the hexagon.
width <- scurve_model_obj$hb_obj$a1 all_centroids_df <- scurve_model_obj$hb_obj$centroids gen_hex_coord(centroids_data = all_centroids_df, a1 = width)
Run the code above in your browser using DataLab