Displaying 1 result from an estimated 1 matches for "gden".
Did you mean:
den
2006 Jun 29
1
initializing table and filling it out
...ode
#read all files in the given directory
myfiles <-list.files("c:\\myDir")
#initialize table
???
#loop through files
for(f in myfiles[-1]) {
netMat <- read.table( f, sep" " )
netMat <-as.matrix(netMat)
# calculate the needed Stats
gden(netMat)->density
centralization(netMat, degree) -> Gdegree
centralization(netMat, betweenness) -> Gbetweenness
centralization(netMat, closeness) -> Gcloseness
#store into table
????
}
So my questions are two
First how can I initialize the table (it will...