Displaying 1 result from an estimated 1 matches for "indeg2".
Did you mean:
indeg
2012 Aug 22
3
help
...ng the degrees of every nodes ( a 1*300 vector for 300 nodes for example). At the end, I will have 265 vectors with dimensions: the number of nodes each week.
In the following code I tried, the program just write one vector called indeg[i] corresponding to the last week, where I would like indeg1, indeg2,...,indeg265.
Rm(list())
library(R.matlab)
library(igraph)
path<-("D:/adj_matrices/nonweighted_GOVSOV")
setwd(path)
vector.files<-paste("nonweighted_GOVSOV",1:265, ".mat",sep="")
dat<-list()
for(i in 1:265) {
dat[[i]] <-readMat(file.path(path,ve...