I have two graphs with the same x axis - the x range is 0-5 in both of them. I would like to combine both of them into one graph, and I did not find the 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 confidential, and on each chart, the x axis is often published or read frequently. I thought that I can easily combine them (one way or another), because both of them have 0-5.
Many thanks!
source
share