I made a plot for this soccer blog I've started. It's measuring the number of saves goalkeepers make against the number of shots they've faced.
See the two R charts and a table of data here:
The plot points look right but the line doesn't. The average shot to save percentage is 0.68, which I thought meant that would be what the line would run through. FOr example, Jaakkola in the top right is right on on the line when he's above average in terms of numbers. Likewise, Dawson is well left of the line when he's about bang on average.
Here's the code. Can anyone see any likely causes?
mapping = aes(x = Saves_per_game, y = Shots_per_game)) +
geom_point(aes(size = Shots)) +
stat_smooth(method = "lm", se = FALSE) +
labs(x = "Saves per game", y = "Shots faced per game") +
geom_text(aes(label = Name),hjust = 0, vjust = 0)
Apologies, I'm not sure how to present that code chunk.
I could potentially provide the data as well for a reprex.