ggplot(gandhi_death, aes(x=question_type, y=guess)) +
geom_boxplot(fill="slateblue",
alpha=0.2) +
geom_hline(yintercept = 78,
linetype = "dashed",
color = "red",
alpha = 0.5) +
labs(title = "The Guess of Gandhi's Age at Death",
x = "Question Type",
y = "Guess Distribution")gandhi death guesses
Loading the Data
Previewing the data, which has the guesses from individuals and the type of preliminary question they were asked.