Assignment

This homework follows up on the activities in the first class. For the assignment (which is essentially a test-run for upcoming assignments) you should follow steps 1-5 below. It is assumed that you are signed in to GitHub in a browser and have the Homework project active in RStudio. You will do all six homework assignments within the same R project/GitHub repository.

  1. Create a subdirectory HW1 in your Homework directory.
  2. Write an R Markdown document called HW1.Rmd in HW1, this should contain
    • the document option output: github_document in the header,
    • a brief description of your past experiences, if any, of using R, RStudio, R Markdown, Git, Github, ggplot2 and dplyr,
    • a plot, using ggplot, of some aspect of a data-set. The data-set should be found on the web (i.e. not one that is preloaded in R or in some package) and you should document any steps taken in retrieving the data.
    • End the document with a code chunk containing sessionInfo() (see end of this document), informing the reader what versions of R and packages you are using.
  3. Knit HW1.Rmd to create a file HW1.md that can be rendered by GitHub. Commit your work and Push it to GitHub. Check using a web-browser that it is all there. Note that also the folder HW1_files needs to be committed, or the plots will not show on GitHub.
  4. Edit the README.md in your Homework directory to contain a link to HW1.md for easy access.
  5. When you are happy with the result, possibly after repeated uses of Commit and Push, open an issue in your Homework repository (see image below where to find issues) stating “HW1 ready for grading!”.

Peer review

After deadline has passed, you will be given access to another students repository on GitHub. You should provide summary feedback by responding to the “HW1 ready for grading!” issue. In particular, you should check the following:

sessionInfo()
## R version 3.6.1 (2019-07-05)
## Platform: x86_64-apple-darwin15.6.0 (64-bit)
## Running under: macOS Mojave 10.14.6
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
## 
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## loaded via a namespace (and not attached):
##  [1] compiler_3.6.1  magrittr_1.5    tools_3.6.1     htmltools_0.4.0
##  [5] yaml_2.2.0      Rcpp_1.0.2      stringi_1.4.3   rmarkdown_1.16 
##  [9] knitr_1.25      stringr_1.4.0   xfun_0.10       digest_0.6.22  
## [13] rlang_0.4.1     evaluate_0.14