Learn R Programming

quollr (version 0.3.7)

compute_mean_density_hex: 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)

Value

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

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.

Examples

Run this code
compute_mean_density_hex(model_2d = scurve_model_obj$model_2d, b1 = 5)

Run the code above in your browser using DataLab