Learn R Programming

openintro (version 2.4.0)

ppp_201503: US Poll on who it is better to raise taxes on

Description

A poll of 691 people, with party affiliation collected, asked whether they think it's better to raise taxes on the rich or raise taxes on the poor.

Usage

ppp_201503

Arguments

Format

A data frame with 691 observations on the following 2 variables.

taxes

Support for who to raise taxes on.

Examples

Run this code

library(ggplot2)

ggplot(ppp_201503, aes(x = party, fill = taxes)) +
  geom_bar(position = "fill") +
  labs(x = "Party", x = "Proportion", fill = "Taxes")

Run the code above in your browser using DataLab