I have two graphs with the same x axis - the range of x is 0-5 in both of them. I would like to combine both of them to one graph and I didn't find a previous example. Here is what I got:
c <- ggplot(survey, aes(often_post,often_privacy)) + stat_smooth(method="loess")
c <- ggplot(survey, aes(frequent_read,often_privacy)) + stat_smooth(method="loess")
How can I combine them? The y axis is "often privacy" and in each graph the x axis is "often post" or "frequent read". I thought I can combine them easily (somehow) because the range is 0-5 in both of them.
Many thanks!

reshape2::melt) and then using an aesthetic such as colour (or simply group) to distinguish the two variables. You need tomeltin such a way that you keepoften_privacyas an id variable. If you post a small subset of your data (withdput) I'm sure you'll get an answer.