This function generates all possible centroids in the hexagonal grid.
Value
A tibble contains hexIDs (h
),
x and y coordinates (c_x
, c_y
respectively)
of all hexagon bin centroids.
Examples
gen_centroids(nldr_obj = scurve_model_obj$nldr_obj, b1 = 5, q = 0.1)
#> # A tibble: 35 × 3
#> h c_x c_y
#> <int> <dbl> <dbl>
#> 1 1 -0.1 -0.116
#> 2 2 0.164 -0.116
#> 3 3 0.428 -0.116
#> 4 4 0.692 -0.116
#> 5 5 0.957 -0.116
#> 6 6 0.0321 0.113
#> 7 7 0.296 0.113
#> 8 8 0.560 0.113
#> 9 9 0.824 0.113
#> 10 10 1.09 0.113
#> # ℹ 25 more rows