User Tools

Site Tools


social_network_analysis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
social_network_analysis [2022/12/13 08:48] – [E.g.3. CONCOR] hkimscilsocial_network_analysis [2023/06/08 10:16] – [E.g.2] hkimscil
Line 166: Line 166:
     7,3,7,4,7,7,7,8,     7,3,7,4,7,7,7,8,
     8,1,8,2,8,6,8,9,8,10), byrow=T, nrow=36,ncol=2)      8,1,8,2,8,6,8,9,8,10), byrow=T, nrow=36,ncol=2) 
-    # 둘로 짝지어진 (ncol = 2) 관계를 edge.list에 기록하기 +    # 둘로 짝지어진 (ncol = 2) 관계 위치를 edge.list에 기록하기  
 +    # (1,1)은 매트릭스의 row 1, column 1 위치를 의미 
 classtaken[edge.list] = 1        classtaken[edge.list] = 1       
 # 0으로만 채워졌던 classtaken matrix에 [edge.list]자리는 0을 1로 바꾸기  # 0으로만 채워졌던 classtaken matrix에 [edge.list]자리는 0을 1로 바꾸기 
 +# 위에서 언급된 위치에 1을 주기
  
 classtaken # classtaken 데이터 확인 classtaken # classtaken 데이터 확인
 +
 rownames(classtaken) = c("a","b", "c", "d","e", "f", "g", "h") rownames(classtaken) = c("a","b", "c", "d","e", "f", "g", "h")
 colnames(classtaken) = c("writer", "comtheo", "pr","adv",  colnames(classtaken) = c("writer", "comtheo", "pr","adv", 
social_network_analysis.txt · Last modified: 2023/06/08 10:16 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki