I have four separate datasets which all have the same x-axis:
x y1 y2 y3 y4
12350 0.032 0.283 0.043 0.012
13200 0.234 0.229 0.934 0.002
15504 0.001 0.510 0.394. 0.294
17709 0.923 0.394 0.022 0.202
How do I enter this in ggplot? I can plot individual plots, but i'm not sure how to combine them. Adding the two plots below does not work:
ggplot(df, aes(x=x, y=y1)) + geom_line()
ggplot(df, aes(x=x, y=y2)) + geom_line()