I have a data frame detailing edge weights among N nodes. Is there a package for working with this sort of data?
For example, I would like to plot the following information as a network:
  p1 p2 counts
1  a  b    100
2  a  c    200
3  a  d    100
4  b  c     80
5  b  d     90
6  b  e    100
7  c  d    100
8  c  e     40
9  d  e     60