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.
HW1
in your Homework
directory.HW1.Rmd
in HW1
, this should contain
output: github_document
in the header,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.sessionInfo()
(see end of this document), informing the reader what versions of R and packages you are using.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.README.md
in your Homework
directory to contain a link to HW1.md
for easy access.
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:
Is there a working link from the main repository README.md
to HW1.md
?
Do figures show up on HW1.md
as expected?
Was the latest version of R used?
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