Skip to contents

This function identifies hexagons with low density based on the mean density of their neighboring hexagons.

Usage

find_low_dens_hex(model_2d, b1 = 4, benchmark_mean_dens = 0.05)

Arguments

model_2d

The tibble that contains all hexagonal bin centroids.

b1

Number of bins along the x-axis for hexagon binning.

benchmark_mean_dens

A numeric value that contains

Value

A vector containing the IDs of hexagons to be removed after investigating their neighboring bins.

Examples

find_low_dens_hex(model_2d = scurve_model_obj$model_2d, b1 = 5,
benchmark_mean_dens = 0.05)
#> Warning: There are hexagonal bins that don't have any neighbouring bins.
#>  [1]  52  53  56  57  69  70 197 200 202 205 222 227 232 258 259