It is of my interest to use ggplot package to visualize some fun data. In this post, I tried to play with a Nobel Prizes Data including countries, prize year, each prize. The goal is to plot a cumulative traceplot of Liberty Nobel Prizes for top 10 countries. Load Packages tidyverse package include some very useful tools such as ggplot2, tidyr and dplyr. library(tidyverse) library(LaCroixColoR) library(ggthemes) library(ggimage) ggimage package was
Item Information Curve
This blog is to show a new way to display item information curves using ggridges package. The ridge plot could show the IIF plots very clear when you have a large number of items.
ggplot(item_information_all %>% filter(item %in% 17:22)) + aes(x = factor, y = item, height = info, group = item, color = as.factor(item), fill = as.factor(item)) + ggridges::geom_ridgeline(alpha = 0.75) + ggtitle("Peer Social Capital: Information Functions") + theme_ridges()