I am trying to combine two different ggplot (line graph) into one x and y axis. However, one graph has y range of -0.5 to 0.5 and another graph has y range of 50 to 110.
I would like to ignore y ranges of two graphs and just want to combine them into one graph which show plot of two different graph clearly.
Hi, thanks for providing some code - however, this is not a reproducible example since you do not provide the dataset data2. See here for instructions.
You can display two y axes with a transformation. Basically, make both the same range and use scale_y_continuous(sex.axis = dup_axis(trans = )). You can use ?dup_axis to look at examples how to use it.