Hi

Say I have the following input

*Edges
aaaaa aaaaa
bbbbb aaaaa
cccccc aaaaa
ddddd aaaaa
aaaaa bbbbb
bbbbb bbbbb
cccccc bbbbb
ddddd bbbbb
aaaaa cccccc
bbbbb cccccc
cccccc cccccc
ddddd cccccc
aaaaa ddddd
bbbbb ddddd
cccccc ddddd
ddddd ddddd

in a .txt file and I want to read this graph.

Which format should I use for my read.graph?
 read.graph(file, format = c("edgelist", "pajek", "ncol", "lgl","graphml",
"dimacs", "graphdb", "gml")??


Or should I use read.graph to read this input at all?


Thank you,
Sara

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to