# Chapter 4: Making Comparisons
library(poliscidata) # Loads R companion package in session
# BOX PLOTS
# you can start with basic version, uncomment line below to view
# svyboxplot(ft_hclinton~pid_x, nesD, all.outliers=T)
svyboxplot(ft_hclinton ~ pid_x, nesD, all.outliers=T,
xlab="Party Identification",
ylab="Clinton Rating",
main="Clinton Rating, by Party ID",
col = "lightgray",
varwidth = T)
12 | ||||||