User Tools

Site Tools


r:igraph

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
r:igraph [2016/12/08 10:07] hkimscilr:igraph [2018/01/11 09:10] (current) hkimscil
Line 3: Line 3:
 [[https://rstudio-pubs-static.s3.amazonaws.com/74248_3bd99f966ed94a91b36d39d8f21e3dc3.html|igraph tutorial]] [[https://rstudio-pubs-static.s3.amazonaws.com/74248_3bd99f966ed94a91b36d39d8f21e3dc3.html|igraph tutorial]]
 [[http://michael.hahsler.net/SMU/LearnROnYourOwn/code/igraph.html|Examples for the igraph package]] [[http://michael.hahsler.net/SMU/LearnROnYourOwn/code/igraph.html|Examples for the igraph package]]
 +
 +nodes (vertex)
 +edges (lines)
 +  * freight schedule
 +  * friendship
 +  * contact
 +  * relationship
 +
 +social network 
 +{{http://s3.amazonaws.com/assets.datacamp.com/production/course_4474/datasets/networkimg.png?280}}
 +adjency matrix 
 +{{http://s3.amazonaws.com/assets.datacamp.com/production/course_4474/datasets/networkmat.png?240}}
 +edge list - economical way to store data
 +{{http://s3.amazonaws.com/assets.datacamp.com/production/course_4474/datasets/networkedg.png?85}}
 +
 +<code>library(igraph)
 +# df = data frame data
 +g <- graph.edgelist(as.matrix(df), directed = FALSE)
 +</code>
 +
r/igraph.1481161035.txt.gz · Last modified: 2016/12/08 10:07 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki