ComenzarEmpieza gratis

Checking models visually

In the last exercise, you found that over its history, Vanuatu (an island nation in the Pacific Ocean) sharply changed its pattern of voting on the topic of Palestinian conflict.

Let's examine this country's voting patterns more closely. Recall that the by_country_year_topic dataset contained one row for each combination of country, year, and topic. You can use that to create a plot of Vanuatu's voting, faceted by topic.

Este ejercicio forma parte del curso

Case Study: Exploratory Data Analysis in R

Ver curso

Instrucciones del ejercicio

  • Filter the by_country_year_topic variable for only Vanuatu's votes to create a vanuatu_by_country_year_topic object.
  • Create a plot with year on the x-axis and percent_yes on the y-axis, and facet by topic.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Create vanuatu_by_country_year_topic


# Plot of percentage "yes" over time, faceted by topic
___(vanuatu_by_country_year_topic, ___) ___
  ___
  ___
Editar y ejecutar código