***** To join INSNA, visit http://www.insna.org *****
> I was wondering if anyone knew of a script or tool which would give me the network distance of nodes to a particular class of nodes. I think of this as an Erdos number, except instead of getting the distance to one node, I want the distance to the closest node of a particular class. Let's say I have a network of people and I know their professions. Some are Students, some are Journalists and a small number are Engineers. I'd like to be able to find out the network distance of each node to the closest Engineer node. It would be particularly useful if the script also had the option to total edge weight into the calculation.
If you are, or willing to become, an R user, I can send you a small
code snippet that should do what you need.
ICM, University of Warsaw
SOCNET is a service of INSNA, the professional association for social
network researchers (http://www.insna.org). To unsubscribe, send
an email message to [log in to unmask] containing the line
UNSUBSCRIBE SOCNET in the body of the message.