Learn R Programming

quollr (version 0.3.7)

hex_binning: Hexagonal binning

Description

This function generates the hexagonal object.

Usage

hex_binning(nldr_obj, b1 = 5, q = 0.1)

Value

A object that contains numeric vector that contains binwidths (a1), vertical distance (a2), bins along the x and y axes respectively (bins), numeric vector that contains hexagonal starting point coordinates all hexagonal bin centroids (centroids), hexagonal coordinates of the full grid (hex_poly), embedding components with their corresponding hexagon IDs (data_hb_id), hex bins with their corresponding standardise counts (std_cts), total number of hex bins (b), number of non-empty hex bins (m) and points within each hexagon (pts_bins).

Arguments

nldr_obj

A list of a tibble contains scaled first and second columns of NLDR data, and numeric vectors representing the limits of the original NLDR data.

b1

Number of bins along the x axis.

q

The buffer amount as proportion of data range.

Examples

Run this code
hex_binning(nldr_obj = scurve_model_obj$nldr_obj, b1 = 5, q = 0.1)

Run the code above in your browser using DataLab