Social Network Exploration in Shiny

Published on July 2016 | Categories: Types, Presentations | Downloads: 39 | Comments: 0 | Views: 179
of 7
Download PDF   Embed   Report

An exploration of Shiny and Network Graph.

Comments

Content

10/29/2015

Social Network Exploration in Shiny (1)

Social Network Exploration in Shiny
Hafidz Zulkifli
Thursday, October 29, 2015

file:///C:/Users/am064/AppData/Local/Temp/Rtmp2BHW2u/Preview­7ea431983e73.html

1/7

10/29/2015

Social Network Exploration in Shiny (1)

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

file:///C:/Users/am064/AppData/Local/Temp/Rtmp2BHW2u/Preview­7ea431983e73.html

2/7

10/29/2015

Social Network Exploration in Shiny (1)

Generating Random Graph

file:///C:/Users/am064/AppData/Local/Temp/Rtmp2BHW2u/Preview­7ea431983e73.html

3/7

10/29/2015

Social Network Exploration in Shiny (1)

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)

file:///C:/Users/am064/AppData/Local/Temp/Rtmp2BHW2u/Preview­7ea431983e73.html

4/7

10/29/2015

Social Network Exploration in Shiny (1)

Calculating Node Centrality
Finally, we lay out the statistics.
## Loading required package: tcltk

file:///C:/Users/am064/AppData/Local/Temp/Rtmp2BHW2u/Preview­7ea431983e73.html

5/7

10/29/2015

file:///C:/Users/am064/AppData/Local/Temp/Rtmp2BHW2u/Preview­7ea431983e73.html

Social Network Exploration in Shiny (1)

6/7

10/29/2015

Social Network Exploration in Shiny (1)

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

file:///C:/Users/am064/AppData/Local/Temp/Rtmp2BHW2u/Preview­7ea431983e73.html

7/7

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close