components_to_map | R Documentation |
Convert a connected_components data.frame into a vertex map for visualizing the results.
components_to_map(graph, components, type = c("size", "label"))
graph |
the parent |
components |
the data.frame results of |
type |
whether to return the size of the component or its label |
A vector corresponding to each vertex in graph
with either
zero, or the size/label from the connected components calculation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.