Difference between revisions of "Sample two-mode network"

From CCE wiki archived
Jump to: navigation, search
Line 1: Line 1:
 +
'''rectangular matrix representation'''
 +
 +
{|border="1" align="left" style="text-align:left;"
 +
!
 +
! band
 +
! choir
 +
! orchestra
 +
|-
 +
|George
 +
| x
 +
| x
 +
|
 +
|-|
 +
|Dimitri
 +
|x
 +
|
 +
|x
 +
|-
 +
| Sarah
 +
|x
 +
|x
 +
|
 +
|}
 +
 
'''txt2pajek input:'''
 
'''txt2pajek input:'''
  
Line 24: Line 48:
 
3 4<br>
 
3 4<br>
 
3 5<br>
 
3 5<br>
 
'''representing the matrix'''
 
 
{|border="1" align="left" style="text-align:left;"
 
!
 
! band
 
! choir
 
! orchestra
 
|-
 
|George
 
| x
 
| x
 
|
 
|-|
 
|Dimitri
 
|x
 
|
 
|x
 
|-
 
| Sarah
 
|x
 
|x
 
|
 
|}
 

Revision as of 09:46, 1 November 2011

rectangular matrix representation

band choir orchestra
George x x
Dimitri x x
Sarah x x

txt2pajek input:

George band
George choir
Dimitri orchestra
Dimitri band
Sarah band
Sarah choir

txt2pajek output: (selecting 2-mode)

*Vertices 6 3
1 "George"
2 "Dimitri"
3 "Sarah"
4 "band"
5 "choir"
6 "orchestra"
*Edges
1 4
1 5
2 6
2 4
3 4
3 5