I'm trying to plot a geom_smooth line with ggplot2, but it doesn't appear. geom_point works fine, and I don't get any error messages.
participantID token language measurement value 1 CC Teil German F2_0 906 2 DD Teil German F2_0 1638 3 FF Teil German F2_0 1781 4 FH Teil German F2_0 1195 5 GG Teil German F2_0 1796 6 HH Teil German F2_0 1695 The 3 variables are: the measurement (N= 21: F2_0, F2_5, F2_10, ... , F2_95, F2_100), the value for each measurement and token (with two levels).
My ggplot line is ggplot(mydata,aes(x=measurement, y=value, color=token))+ geom_point()+ geom_smooth()+labs(title="F2 trajectories")
There are several threads on this issue already, but they don't seem to work for my data set. Any help would be very appreciated. Thanks.

xvariable is categorical. Given that, what should the relationship look like? Should the categorical variable be treated as ordinal or numeric or something else? That may help you figure out if a smooth is a., reasonable and b., doable. I searched "geom_smooth categorical" and this answer may also prove useful to you.