STA450/650 Theory and Methods for Social Network Analysis
TA for a graduate-level course introducing statistical theory and methods for social network analysis
By Yunran Chen in teaching
January 9, 2019
I served as a teaching assistant, holding a 75-min lab and 2-hr office hour weekly. I prepared a detailed tutorial for my lab and knitted it using bookdown
package, which covers the basic network analysis using R.
Outline
- Basic introduction on network objects.
- R packages including
igraph
,statnet
(includingsna
,network
packages).
- R packages including
- Collect network data:
- API requests using R packages (
rtweet
,Rfacebook
,RedditExtractoR
,imdbapi
,omdbapi
). - API requests from R directly (
rjson
,jsonlite
) - Useful websites: (SNAP, Awesome Network Analysis)
- API requests using R packages (
- Fancy visualization (static and dynamic networks):
- ggplot2 version:
ggnet2
,geomnet
,ggnetwork
- Interactive network visualization:
ggplot2
+plotly
,visNetwork
- Dynamic network visualization:
ggnetwork
,ggplot2
+gganimate
,ndtv
- ggplot2 version:
- Network analysis using package
amen
,statnet
.