Re: [R] Need help on creating Adjacency matrix in R

2013-06-14 Thread arun
. . . . . . 1 #F . . . 1 . . . . . . . #G . . 1 . . . . . . . . #H . . . . . . . . 1 . . #M . . . . . . . . . . . #P . . . . . . . . . . . #W . . . . . . . . . . . A.K. - Original Message - From: rn27in . To: r-help@r-project.org Cc: Sent: Friday, June 14, 2013 2:43 AM Subject: [R] Ne

[R] Need help on creating Adjacency matrix in R

2013-06-14 Thread rn27in .
Hello everyone I am relatively new to R and wanted some help on creating adjacency matrix I have a dataset as given below and wanted to create an adjacency matrix in R. For creating an adjacency matrix, the matrix should be a square matrix. I tried creating a matrix directly, but it would not be