Hello,
   
  I'm a bit new to R and am trying to plot a network using the network package.  Based on the documentation, if I do the following steps, things work fine:
  
> test = c(0,1,1,1,0,0,0,1,0)
  > m = matrix(test, 3)
  > g = network(m)
  > plot(g)
   
  However, if I try to read in the above nine numbers (space-delimted) from a file into a table using read.table(), things don't work:
  > test = read.table("test.dat", header=FALSE)
  > m = matrix(test,3)
  > g = network(m) - doesn't work - "g" is not created
   
  Can someone please offer a suggestion about what to do?  I'm guessing that I maybe shouldn't be using read.table() for this, or maybe I need to do something to convert  the "table" into something compatible with matrix() and/or network()?
   
  Thank you,
  Joe
   
   
 
       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.
	[[alternative HTML version deleted]]

