Consult the general homework guidelines.
Due before class Monday 2014-09-22.
The goal is to explore a newly imported a dataset. In particular, to establish workflows based on data.frame. You will make a couple of figures with ggplot2. You will learn how to author a dynamic report in R Markdown and share it on the web.
Remember the sampler concept. Your homework should serve as your own personal cheatsheet in the future for things to do with a new dataset. Give yourself the cheatsheet you deserve!
Work with the Gapminder excerpt introduced this week. If you really, really want to, you can explore a different dataset but get permission from Jenny.
Import the data with read.delim() and with read.table(). FYI: read.delim() is just a wrapper around read.table() with specific arguments set to certain values. Read the documentation!
file. Do you get the same resulting object in your workspace? Use all the ways we’ve learned to inspect an object to back up your claims with hard facts.read.table() that is equivalent to read.delim(), i.e. how do you need to set various arguments and describe this in prose as well.Explore your new data.frame.
Pick at least one categorical variable and at least one quantitiative variable to explore.
This is just for people who want to take things further! NOT REQUIRED!
Play with this visual tool for exploring tabular data:
Check out the testdat package. Does it ease the pain of getting your read.table() arguments “just right”?
Read What I do when I get a new data set as told through tweets from SimplyStatistics to get some ideas!
You’re encouraged to reflect on what was hard/easy, problems you solved, helpful tutorials you read, etc.
Follow instructions on How to submit homework
Start using our general rubric for specifics to evaluate, but be gentle this week!
Check minus: Hits the elements listed above in a really minimal or rote way, maybe even with a few mistakes/omissions. And/or it’s hard to figure out which file I’m even supposed to be looking at.
Check: Hits all the elements. No obvious mistakes. Pleasant to read. No heroic detective work required. Solid.
Check plus: Some “above and beyond”, creativity, etc. You learned something new from reviewing their work and you’re eager to incorporate it into your work now.