assign_data | R Documentation |
This function assigns the data to hexagons.
assign_data(nldr_obj, centroids_data)
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. |
A tibble contains embedding components (emb1
, emb2
)
and corresponding hexagon ID (h
).
all_centroids_df <- scurve_model_obj$hb_obj$centroids
assign_data(nldr_obj = scurve_model_obj$nldr_obj,
centroids_data = all_centroids_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.