Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

Math 2740  Fall 2023

Assignment 10

Due Friday 24 November at 12:00 (noon)

General instructions/remarks

1. This assignment consists of only the computer part (the present one).

2.  Late assignments will not be accepted and will be given a mark of zero.  UMLearn times- tamps submissions and late submissions will be given a mark of zero

3. You must complete the assignment BY YOURSELF. Acts of academic dishonesty will be subject to academic discipline.

Instructions/remarks specific to the computer part

Return a single jupyter  notebook (.ipynb) or an RMarkdown (.Rmd) file.

❼ If returning an .ipynb file:

–  Recall that the notebook must use R.

❼ If returning a .Rmd file:

–  This must be proper Rmarkdown, i.e., the code chunks must actually execute when knitting. (And make sure the code actually knits!)

❼ Please  make use of the capacity to insert markdown text.   In the same way as long form answers need some explanations to be worth full marks, we need to be able to be work what you are doing in order for your code to receive full marks.

Assignment text

Choose a real world graph/network (with at least, say, 20 vertices) and perform the same type of work as outlined in the lecture about the Manitoba air transportation graph and any other analysis, as you see fit.

❼ Recall that many networks can be found for instance on SNAP. A variety of other locations also have sample networks. Also, the R library igraphdata contains some networks.

❼ You cannot use the graphs I provided as examples, you need to come up with your own graph. The graph should be real world, i.e., not a random graph.

❼ If you are not using a network in  igraphdata, your code should download the data from the web directly. Exceptionally, I will also allow you to upload a supporting csv or zip file. Please keep the supporting file of reasonable size.  If the file is over 5 MB, please email me to discuss options.

❼ The previous point should be moot: if you are going to visualise the graph, it should not be too large.

❼ Also, if you provide a data file, please ensure that it is read from the same directory as where your code file resides: we will not be editing paths to make things work.

❼ If providing a zip file, please make sure that your code unzips it:  we will not be unzipping files manually ourselves.

The graph does not need to be spatial as mine was in the MB travel graph.

❼ Interpret the results you obtain, do not just write out the function results.

❼ More so than any computer assignment this far:  use the capacity to include markdown text to explain what you are doing.  Tell us what the data set is, what the graph represents, what the different measures you are computing mean and what they mean in the context of your graph, etc.