Hi Guys,

Do you any one know how to convert a long format table to an adjacency
matrix used in sna? The long table looks like

p1 p2 counts
a b 100
a c 200
a d 100
b c 80
b d 90
b e 100
c d 100
c e 40
d e 60

and I want to convert it to an adjacency matrix which can be used in sna?

Any methods will be appreciated!

btw, besides sna package, is there any better package can be used in social
network analysis, specially good at plotting?

Thanks in advance!


Regards,

-- 
Samuel Wu
http://webclipping.com.cn

	[[alternative HTML version deleted]]

