HW2 Part 2
March 10, 2021
1 MGT6203 HW2 Part 2
1.1 Instructions:
For Homework 2 Part 2, please use this R notebook in Vocareum to submit your
... [Show More] solutions. Vocareum is an educational cloud platform for programming in several languages; it is based on
the Jupyter notebook environment. This platform allows us to move homework assignments to
the cloud. The advantages are that all of you will be working in the same coding environment
AND peer reviewers will be able to run your R code easily. This way we eliminate some issues
we might encounter when working on an individual/local basis, such as library installations
and Rstudio OS requirements; R notebooks work on mobile platforms and tablets.
With R notebooks, you will be learning a new way of presenting data analysis reports, that
is neat and flexible, where formatted (English) text and (R) code can easily coexist on the same
page. Notebooks can be also collaborative when needed. For now, we are asking each of you to
do your own work for homework. Think of R notebooks as interactive program-based Google
docs or MS-Office 360 docs; these are gradually replacing local files on our computers.
Many of you are new to the R notebooks and Vocareum platforms. We will provide TA help
in Piazza with specific code if you have questions. Here we list some important things to get
you started. Please read through them carefully.
Even though we are moving from your local envrionment to the cloud, our expectations from
your homework will remain the same. Same goes for the rubrics.
Vocareum has its own cloud based file system, the data files you will be using for the assignments will be stored in the cloud with path "../resource/asnlib/publicdata/FILENAME.csv". You
will be able to import them with the same method as you do in RStudio, simply substitute the
path name to the one specified in the instructions. You won’t be able to modify these data files.
You will be able to find the data files on Canvas/EdX if you would like to explore them offline.
For coding questions, you will be graded on the R code as well as the output in your submission.
For interpretations or short response questions, please type the answers in the notebook’s
markdown cells. To change a code cell to a markdown cell, click on the cell, and in the dropdown
menu above, switch the type of the cell block from "code" to "markdown". Adding print statements to code cells for short response/interpretation questions is also fine, as long as we can
clearly see the output of your response.
You don’t need to, but if you would like to learn more about how to format your markdown
cells, visit the following site: https://www.earthdatascience.org/courses/intro-to-earth-datascience/file-formats/use-text-files/format-text-with-markdown-jupyter-notebook/. Jupyter
notebook also support LaTeX. [Show Less]