splitVectorByNodes
splitVectorByNodes(vec, nodes, n.nodes)
input vector to be divided
nodes used to divide the vector 'vec' via split()
numeric The number of nodes for splitting
list from vec with names given by the nodes
# NOT RUN { adjList = graphToAdjList(conosGraph) print(names(adjList)) ## [1] "idx" "probabilities" "names" length(adjList$names) ## [1] 12000 # }
Run the code above in your browser using DataLab