powered by
This function generates all possible centroids in the hexagonal grid.
gen_centroids(nldr_obj, b1 = 5, q = 0.1)
A tibble contains hexIDs (h), x and y coordinates (c_x, c_y respectively) of all hexagon bin centroids.
h
c_x
c_y
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.
Number of bins along the x axis.
The buffer amount as proportion of data range.
gen_centroids(nldr_obj = scurve_model_obj$nldr_obj, b1 = 5, q = 0.1)
Run the code above in your browser using DataLab