Re: [R] Social Network Analysis

2007-05-24 Thread Gabor Csardi
Tom, thank you for the detailed answer and sorry for the long delay, i'm at a conference right now. This sadly means that i have no access to the papers, it will take more time. But in the meanwhile, here's a little program which might be useful, structural.balance <- function(g) { triples <-

Re: [R] Social Network Analysis

2007-05-14 Thread Tom Backer Johnsen
Gabor Csardi wrote: > Tom, > > check the igraph package. Although structural balance is not implemented, > for three or four nodes it might be straightforward to do a quick > implemntation which works for small graphs. I will do so. My graphs are small, but not very small, having from 8 to 11

Re: [R] Social Network Analysis

2007-05-14 Thread Robert Gentleman
the packages graph and RBGL from the Bioconductor project have some reasonable subset of tools for SNA type analyses (and a lot of other things). Gabor Csardi wrote: > Tom, > > check the igraph package. Although structural balance is not implemented, > for three or four nodes it might be strai

Re: [R] Social Network Analysis

2007-05-14 Thread Gabor Csardi
Tom, check the igraph package. Although structural balance is not implemented, for three or four nodes it might be straightforward to do a quick implemntation which works for small graphs. Btw. what is exactly you want to do? List the number of balanced and unbalanced triangles? Ot the triangle

[R] Social Network Analysis

2007-05-12 Thread Tom Backer Johnsen
R-Netters: for (partial sentimental reasons) I am at the the moment working on some old data of mine (actually collected 40 years ago this year for my thesis) covering development of of social networks in small groups over time. These data consists of signed and directed graphs. Apart from th