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.
Deze oefening maakt deel uit van de cursus
Case Study: Exploratory Data Analysis in R
Oefeninstructies
- Filter the
by_country_year_topicvariable for only Vanuatu's votes to create avanuatu_by_country_year_topicobject. - Create a plot with
yearon the x-axis andpercent_yeson the y-axis, and facet by topic.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Create vanuatu_by_country_year_topic
# Plot of percentage "yes" over time, faceted by topic
___(vanuatu_by_country_year_topic, ___) ___
___
___