Skip to content

simple R example plotting twitter text data of @RDMining

Notifications You must be signed in to change notification settings

acstott/R_social_media_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#This is a simple example of loading a matrix in R and plotting it using igraph. 

#Dataset is included

#You will need to install R and igraph - R can be installed with homebrew on mac or equivalent package manager on Linux

#homebrew installation

brew tap homebrew/science
brew install R


#igraph can be installed from R

## Download and install the package
install.packages("igraph")

## Load package
library(igraph)
 

#Run the script using the command

Rscript social_script.r

#Plot is generated as a .pdf and is included here


About

simple R example plotting twitter text data of @RDMining

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages