gen_hex_coord | R Documentation |
This function generates the coordinates of hexagons after passing hexagonal centroids.
gen_hex_coord(centroids_data, a1)
centroids_data |
The dataset with all hexagonal bin IDs and centroid coordinates. |
a1 |
The width of the hexagon. |
A tibble contains hexagon id (h
),
x and y coordinates (x
, y
) of hexagons.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.