Find the number of bins required to achieve required number of non-empty bins.
Source:R/2d.R
find_non_empty_bins.Rd
This function determines the number of bins along the x and y axes to obtain a specific number of non-empty bins.
Arguments
- data
A tibble that contains the embedding.
- non_empty_bins
The desired number of non-empty bins.
- r2
The range of the original second embedding component.
- q
The buffer amount as proportion of data range.