Assignment 3

Q1. What’s the difference between do.call function and lapply function in R. When we try to use searchTwitter function to retrieve info from twitter, what format are the info retrieved as?  Is this format open? What are the advantages and disadvantages of this format?

 

Q2. The data below represents blogs posts discussing and linking to a viral video.  Thedata is in the format of source ⇒ link.  For example, huffington.com ⇒ video would beinterrupted as huffingtonpost.com linking directly to the video.  myblog.com⇒huffingtonpost.com would be interpreted as myblog.com posting a link to ahuffingtonpost.com blog entry about the video

  1. Convert the data into a adjacency matrix.
  2. Plot the network graph.

3.What are the number of possible connections?

  1. Calculate the degree centrality of huffingtonpost.com.

Last Updated on February 11, 2019 by Essay Pro