Lab 2: The Shape of Data

You should clone this repository to get started with this lab. The URL to clone is https://github.com/lse-me314/assignment02. You can find detailed instructions on how to do this here.

Resources

Assignment

  1. Identifying the characteristics of “tidy” data.

    a. What makes the following example “non-tidy”?

    b. Inspect the R object [cmpdata.RData] from the file of the same name. (You can access this by opening the file from the Files pane of Rstudio.) What makes this data non-tidy?

  2. Reshaping in R.

    Work with the file me314-assignment2-LASTNAME-FIRSTNAME.Rmd (after renaming it!)

Solutions

Solution to Assignment 2 as: