All,
There is a simple solution to this problem using R's matrix algebra
commands. I describe in detail at
http://www.stanford.edu/~messing/Affiliation%20Data.html
http://www.stanford.edu/~messing/Affiliation%20Data.html .
Best wishes,
-Solomon
--
View this message in context:
PROTECTED]
Sent: Wed 5/14/2008 4:01 AM
To: Messing, Solomon O.
Cc: R Help list
Subject: Re: [R] For Social Network Analysis-Graph Analysis - How to convert 2
mode data to 1 mode data?
Please stay on the list.
On Tue, May 13, 2008 at 06:05:15PM -0400, Messing, Solomon O. wrote:
Gabor
Analysis - How to convert 2
mode data to 1 mode data?
Please stay on the list.
On Tue, May 13, 2008 at 06:05:15PM -0400, Messing, Solomon O. wrote:
Gabor,
By the way, this seems to work:
I'm a bit lost. So now you're converting your data frame
to a matrix? Why? Or you're doing the two-mode
Analysis - How to
convert 2
mode data to 1 mode data?
Solomon, if i understand two-mode networks properly (they're bipartite,
right?),
then this is not hard to do with igraph. Basically, for each vertex
create an
order=2 neighborhood, and then create a graph from the adjacency list
Please stay on the list.
On Tue, May 13, 2008 at 06:05:15PM -0400, Messing, Solomon O. wrote:
Gabor,
By the way, this seems to work:
I'm a bit lost. So now you're converting your data frame
to a matrix? Why? Or you're doing the two-mode to one-mode
conversion here? It does not seem so to
-
From: Gabor Csardi [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 10, 2008 1:09 PM
To: Messing, Solomon O.
Cc: r-help@r-project.org
Subject: Re: [R] For Social Network Analysis-Graph Analysis - How to
convert 2
mode data to 1 mode data?
Solomon, if i understand two-mode networks properly (they're
Solomon, if i understand two-mode networks properly (they're bipartite, right?),
then this is not hard to do with igraph. Basically, for each vertex create an
order=2 neighborhood, and then create a graph from the adjacency list,
it is something like this:
two.to.one - function(g, keep) {
neis
Hi,
Does anyone know of a package in R that has a function to convert
network data (e.g. an adjacency matrix or ) from 2-mode to 1-mode? I am
conducting social network analysis. I know that Pajek has this function
under Net -- Transform -- 2-mode to 1-mode -- Rows. I have searched
the
8 matches
Mail list logo