22  A3 - Data Exploration

This is a skeleton markdown file that you will use to complete Assignment 3 this semester. Use the chunks (see below) to code in. Where you see …………………… please remove and write your response to the prompt.

Grading: Full marks are awarded for completion. One mark will be dropped for each portion incomplete. This assignment will have 5 points per portion (4 questions/prompts to complete) and a total of 20 marks.

22.1 Selecting your network data.

Please select one of the datasets that are available to you for your final project. Then, discuss the following.

  1. How is this data stored? How do you know this? Discuss the characteristics of your network data using terms we have learned in class. …………………………………………….

  2. What interested you in this network? …………………………………………….

22.2 Bringing in your network

Use this chunk below to bring in your network data and convert it into a network object using the appropriate method for how your network data are structured.

library(igraph)
my_data <- 
  1. Please describe your network. What are the nodes? Edges? One/two mode? Directed/Undirected? …………………………………………….

22.3 Describing your network data

Use this chunk below to create a table showing the number of nodes and edges that are in your network.

num_nodes <- vcount(YOUR GRAPH OBJECT HERE)
num_edges <- ecount(YOUR GRAPH OBJECT HERE)

table <- data.frame( 
  nodes = num_nodes,
  edges = num_edges
  )

Please present the table you created. (Consider using the head(), tail(), or print() functions).

22.4 Visualising the network

  1. Potential Transformations Present a raw visualisation of your network (yes, even if it is ugly!).

Please discuss any transformations (not just to the visual, but actual data transformations) that you think you may need to make to this network before you go on to analyse it (think about deleting nodes and ties). If you can’t think of anything you NEED to do (i.e. trim or add), then what ways do you think you could do (i.e. subgraph)? ……………………………………………………………

WELL DONE!! :)