I have some historical sports data plotted as a boxplot using ggplot2. I’m wanting to read in another .csv file with some new data and plot the data points on the existing boxplot. I’m wondering how to achieve this.
My code currently reads as:
plot <- ggplot(data = quarterone, aes(x = Player.Name, y = Average.Distance)) + geom_boxplot() + coord_flip()
Basically, I’m wanting to plot the current Average.Distance variable, using the new dataset, against the historical data to see where that data point lies within the distribution. Once again, any assistance will be greatly appreciated.