calc_bins_y: Calculate the effective number of bins along x-axis and...

View source: R/util.R

calc_bins_yR Documentation

Calculate the effective number of bins along x-axis and y-axis

Description

This function calculates the effective number of bins along the x and y axes of a hexagonal grid.

Usage

calc_bins_y(nldr_obj, b1 = 4, q = 0.1)

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.

Value

A list of numeric values that represents the effective number of bins along the y axis, height and, width of the hexagon.

Examples

calc_bins_y(nldr_obj = scurve_model_obj$nldr_obj, b1 = 4, q = 0.1)


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