User Tools

Site Tools


social_network_analysis:eg_in_r

Differences

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

Link to this comparison view

Next revision
Previous revision
social_network_analysis:eg_in_r [2021/05/24 07:41] – created hkimscilsocial_network_analysis:eg_in_r [2021/05/24 07:45] (current) hkimscil
Line 3: Line 3:
 A =  A = 
 \begin{bmatrix} \begin{bmatrix}
-& 4 & 6 \\ +2 & 6 & 3 \\ 
-& 5 \\+& 5 \\
 \end{bmatrix} \end{bmatrix}
 \end{eqnarray*} \end{eqnarray*}
Line 25: Line 25:
 </code> </code>
  
 +<code>
 +A <- c(2, 4, 6, 1, 3, 5)
 +A
 +AbyCol <- matrix(nrow=2, ncol=3, A)
 +AbyCol
 +AbyRow <- matrix(nrow=2, ncol=3, A, byrow=T)
 +AbyRow
 +</code>
  
  
social_network_analysis/eg_in_r.1621809692.txt.gz · Last modified: 2021/05/24 07:41 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki