Displaying 1 result from an estimated 1 matches for "indeg".
Did you mean:
index
2012 Aug 22
3
help
...for 265 weeks).
So for each weak, I want to write a vector containing 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&...