Write Output Graphs in DL Format
Writes a graph stack to an output file in DL format.
write.dl(x, file, vertex.lab = NULL, matrix.lab = NULL)
x |
a graph or graph stack, of common order. |
file |
a string containing the filename to which the data should be written. |
vertex.lab |
an optional vector of vertex labels. |
matrix.lab |
an optional vector of matrix labels. |
DL format is used by a number of software packages (including UCINET and Pajek) to store network data. write.dl
saves one or more (possibly valued) graphs in DL edgelist format, along with vertex and graph labels (if desired). These files can, in turn, be used to import data into other software packages.
None.
Carter T. Butts buttsc@uci.edu
## Not run: #Generate a random graph stack g<-rgraph(5,10) #This would save the graphs in DL format write.dl(g,file="testfile.dl") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.