compute_mean_density_hex: Compute mean density of hexagonal bins

View source: R/parameters.R

compute_mean_density_hexR Documentation

Compute mean density of hexagonal bins

Description

This function calculates the mean density of hexagonal bins based on their neighboring bins.

Usage

compute_mean_density_hex(model_2d, b1 = 5)

Arguments

model_2d

A tibble that contains information about hexagonal bin centroids, including the hexagon ID and the standardised counts (w_h).

b1

The number of bins along the x-axis for the hexagonal grid.

Value

A tibble contains hexagonal IDs and the mean density of each hexagonal bin based on its neighboring bins.

Examples

compute_mean_density_hex(model_2d = scurve_model_obj$model_2d, b1 = 5)


quollr documentation built on Aug. 8, 2025, 6:08 p.m.