With igraph, do
read.graph(filename, format="ncol", directed=TRUE)
I just noticed that the 'directed' option is not documented, sorry about that, Gabor
ps. please give a proper subject to your emails...
On Thu, Nov 27, 2008 at 9:54 AM, Weijia You <weijiawx_at_gmail.com> wrote:
> Hi friends,
> Is there anyone who happened to import data set in the "DL" format into R
> for further analysis?
> In the package of "network", there's only a method named "read.paj()".
> So now, I have to get the dl file from the original data set, and use UCINET
> to convert it to .net file. It's too complicated.
> In the package of "igraph", edgelist is one the format which can be
> imported, however, weight can not be expressed. As for the format "ncol",
> weight is considered, but it's always undirected.
> Thank you for comments and suggestions!
> [[alternative HTML version deleted]]
> R-help_at_r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
-- Gabor Csardi <Gabor.Csardi_at_unil.ch> UNIL DGM ______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.Received on Thu 27 Nov 2008 - 09:22:55 GMT
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Archive generated by hypermail 2.2.0, at Thu 27 Nov 2008 - 10:30:27 GMT.
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.
list of date sections of archive