Skip to content

Network tutorial

Mike Lee edited this page Jul 28, 2019 · 1 revision

Network analysis tutorial

Open your cloud RStudio server as we have before by finding your name on this page and clicking the link for RStudio.

Then when in RStudio, copy and paste the following code block to run these commands in order to get the tutorial and data (In RStudio):

setwd("~/")

download.file("https://ndownloader.figshare.com/files/16638143", destfile = "STAMPS_Network_tutorial.tar.gz")
untar("STAMPS_Network_tutorial.tar.gz")

setwd("~/STAMPS_Network_tutorial/")
download.file("https://ndownloader.figshare.com/files/16639130", destfile = "STAMPS_Network_tutorial2019.R")

file.edit("STAMPS_Network_tutorial2019.R")

Now we'll be working following the tutorial in RStudio!