assign_data {quollr} | R Documentation |
Assign data to hexagons
Description
This function assigns the data to hexagons.
Usage
assign_data(nldr_obj, centroids_data)
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. |
centroids_data |
The dataset with centroid coordinates. |
Value
A tibble contains embedding components (emb1
, emb2
)
and corresponding hexagon ID (h
).
Examples
all_centroids_df <- scurve_model_obj$hb_obj$centroids
assign_data(nldr_obj = scurve_model_obj$nldr_obj,
centroids_data = all_centroids_df)
[Package quollr version 0.3.7 Index]