Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 7.9 KB

hw02_rmarkdownGapminder.md

File metadata and controls

58 lines (52 loc) · 7.9 KB

Go back to STAT545A home

Homework #2

See instructions on how to submit homework here

Perform intake of the Gapminder data in an R Markdown document, compile to HTML, publish, and link

  • Write an R Markdown file that does what's described below and includes some narrative text, walking the reader through basic features of the dataset. Find ways to explore what's possible with Markdown, e.g. make links, use headings or bullet points or blockquotes, use inline R code, include an equation, etc. Follow the naming convention.
  • Import the Gapminder data as provided in gapminderDataFiveYear.txt.
  • Determine and report basic facts like the number of observations and which variables are there. Make at least one figure. Report some very basic descriptive statistics, such as results from summary(). There is no need to go beyond what we've presented in class/tutorials. There will be other homework assignments soon for that!
  • Compile into an HTML report, using the "Knit HTML" feature of RStudio (easiest!) or by direct usage of the functions in the knitr and markdown packages. Follow the naming convention.
  • Check that the HTML report is no longer than a couple of printed pages. If longer, go back and make your script shorter. Content is not that important.
  • Publish the HTML report on the web somewhere, such as on RPubs. Make the slug follow the naming convention.
  • Publish the R Markdown file as a Gist. See instructions for help. Follow the naming convention.
  • Add or edit a line in the Markdown file that generates this page with links to your two published items. See instructions for help.
  • DUE: Before class begins 9:30am Monday September 16.

Please add links to your Homework #2 in this bulleted list. Find the placeholder created for you and edit that line only, if at all possible.