Rubric

  1. (1 p) Concatenate all WS assignments pertaining to your research questions as described below.

  2. (1 p) Dataset is specified.

  3. (1 p) Variables from the personal codebook are indicated.

  4. (2 p) The data are loaded and a subset is created by selecting only the variables in the personal codebook.

  5. (1 p) Output confirms the subset is correct (e.g., using dim() and str()).

  6. (2 p) Rename your variables to descriptive names (e.g., from “S3AQ3B1” to “SmokingFreq”).

  7. (2 p) Provide numerical summaries for all variables (e.g., using summary()).


In-class: Concatenate all WS assignments into the “S4R: Cumulative project file”, then read your data and create a subset of your data and provide a few numerical summaries.

The sections from Erik’s S4R_Project_All_Erik_NESARC.Rmd file to focus on are