[R-sig-Geo] Shortest network path distances

Dan Bebber danbebber at yahoo.co.uk
Fri Sep 14 17:26:37 CEST 2007


Dear Agus

Use the graphNEL class: details are in the graph library documentation
?ftM2graphNEL shows how to convert a (weighted) link list to this class.

Dan

-----Original Message-----
From: Agustin Lobo [mailto:aloboaleu at gmail.com] On Behalf Of Agustin Lobo
Sent: 14 September 2007 16:11
To: danbebber at forestecology.co.uk
Subject: Re: [R-sig-Geo] Shortest network path distances

Dan,

I've given a look. How can I actually import my data into a RGBL graph? What
I get out of my program is an R list of adjacencies. Each element in the
list is a node, and for each node I have a vector of adjacent nodes. The
examples in RGBL.pdf start from RGBL graphs in gxl format.

Thanks!

Agus




More information about the R-sig-Geo mailing list