find_non_empty_bins: Find the number of bins required to achieve required number...

View source: R/2d.R

find_non_empty_binsR Documentation

Find the number of bins required to achieve required number of non-empty bins.

Description

This function determines the number of bins along the x and y axes to obtain a specific number of non-empty bins.

Usage

find_non_empty_bins(nldr_obj, m = 2, 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.

m

The desired number of non-empty bins.

q

The buffer amount as proportion of data range.

Value

The number of bins along the x and y axes needed to achieve a specific number of non-empty bins.

Examples

find_non_empty_bins(nldr_obj = scurve_model_obj$nldr_obj, m = 5)


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