Sara Khalatbari
2010-Mar-01 13:41 UTC
[R] How to read.graph a file with strings of characters
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]]