Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

[R] Generating repeated network measures in R

Jeremy Goss

2012-01-27

Replies: Find Java Web Hosting

Author LoginPost Reply
I am working on directed network data of the following form:


Origin farm    Destination farm    Year

Farm 1     ->     Farm 2           1999
Farm 1     ->     Farm 3           1999
Farm 3     ->     Farm 2           2000
Farm 1     ->     Farm 2           2000


I am using the package 'igraph' and I would like to generate and plot
(as a function of time) basic annual network statistics (degree,
diameter, density) without having to subset for each year. I have a
feeling that I can do this with either the 'loop' or 'apply' function
but am battling with the coding. Help would be appreciated!

Thanks

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.