sccore (version 0.1.2)

splitVectorByNodes: splitVectorByNodes

Description

splitVectorByNodes

Usage

splitVectorByNodes(vec, nodes, n.nodes)

Arguments

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

Value

list from vec with names given by the nodes

Examples

Run this code
# 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