The Chilean plebiscite data

The Chilean plebiscite of 1988 was set to decide whether General Augusto Pinochet—ruler of Chile at the time—should or should not extend his ruling for an additional 8 years. The majority of voters picked No (nearly 56%), hence marking the ending the Pinochet's era. Data for voting intentions can be found in the car package. The dataset in question is called Chile.

Let's start by gathering some knowledge on the dataset. Uncomment and run the first line if you haven't installed car yet:

# install.packages('car')library(car)?Chilehead(Chile)

The dataset has eight variables. Four of them are numerical:

  • population: The size of the respondent's community
  • age: Measured in years
  • income: Monthly income (in pesos)
  • statusquo ...

Get Hands-On Data Science with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.