View source: R/graph_embedding.R
splitVectorByNodes | R Documentation |
splitVectorByNodes
splitVectorByNodes(vec, nodes, n.nodes)
vec |
input vector to be divided |
nodes |
nodes used to divide the vector 'vec' via split() |
n.nodes |
numeric The number of nodes for splitting |
list from vec with names given by the nodes
adjList = graphToAdjList(conosGraph)
print(names(adjList))
## [1] "idx" "probabilities" "names"
length(adjList$names)
## [1] 12000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.