I'm drawing a plot using the means grouping the data with two factors. As you can see I'm getting a vertical line but I want a line containing the points (One for each subplot). How can I do that?
ggplot(data = grouped.df, aes(x = jobclass, y = wage)) +
stat_summary(fun.y = "mean", geom = "point") +
facet_wrap(~race) + geom_line()