In a recent semester, we had a big problem with honesty on the computing assignments. My least favorite part of my job is sanctioning students who cheat. It’s a lot of work, uncomfortable, and unrewarding. That said, it is my job. Please make sure to complete the assignment honestly.
This document details the standards. Please read it carefully before you begin.
.rds
version of the state-legislators
data set from the data page. This data set contains ideology scores for legislators in the lower house of the 50 U.S. states (similar to the NOMINATE scores for the U.S. House of Representatives that we’ve been using).analysis.R
.state-legislators.rds
.x
aesthetic corresponds to ideology
and the color
aesthetic corresponds to party
. Facet by state.labs()
functions. Use a theme that you like.analysis.docx
or analysis.pdf
), and click More > Export…, and follow the instructions Submit this docx
or .pdf
file to Canvas. Do not submit the .R
script itself.Your plots should appear in the document you submit, but might not be sized in a way that makes them readable. That’s okay.
Examples:
The follow shows the basic format of the R code and shows what the output should look like after you compile it into a notebook. Note these are not the solution keys, so your work will look different. These just show what the output will look like relative to the code.