Social Network Exploration in Shiny

Hafidz Zulkifli
Mon Oct 26 00:41:52 2015

Introduction

The 'Social Network' shiny app can be used to experiment on different graph formation can result in different centralities scores and infer different roles to nodes in the network.

The app is available at: https://ikanez.shinyapps.io/Social_Network

Generating Random Graph

plot of chunk myplot

Graph is randomly generated using Erdos-Renyi model. Roles are inferred based on Drew Conway's presentation on Socio-Terrorism (http://riskecon.com/wp-content/uploads/2012/02/Conway-Socio_Terrorism.pdf)

Calculating Node Centrality

Finally, we lay out the statistics. plot of chunk myplot2

Summary

Social network can be explored using R. Using igraph package, we can:

  • Discover relationship
  • Infer roles of nodes in society
  • Used to calculate centrality

All codes are available for reference at https://github.com/ikanez/johnhopkins/tree/master/data_product