[R] Graph in R with edge weights

2010-12-01 Thread arturs . onzuls
Can you please show code example, how to draw graph with some nodes and edges, but with weights. I only found here http://www.bioconductor.org/packages/release/bioc/vignettes/Rgraphviz/inst/doc/Rgraphviz.pdf- Using edge weights for labels, but... Here an example: library(graph);

[R] Working with necessary columns in R (CSV)

2010-11-17 Thread arturs . onzuls
Hi all. It will be great if some one will help me to solve my home task. So, the deal : i have .pcap file, i convert it to csv using tcpdump (tcpdump -tt -n -r x.pcap x.csv) CSV file looks like that : 12890084,761659 IP 10.10.20.20.47808 10.10.20.255.47808: UDP, length 12 12890084,761659 IP