Hi All,
As far as I can tell there is no option in ggplot2 to add multiple x or y axis that have independent scales as would be used for things CTD plots.
You can do it in base easy enough, but does anyone have any suggestions for how to do it in ggplot2?
x<-seq(1,10,by=1)
y<-seq(1,10,by=1)
yy<-seq(100,10,by=-10)
plot(x,y)
par(new = TRUE)
plot(x, yy, type = "o", axes = FALSE, bty = "n", xlab = "", ylab = "")
axis(side=4, at = pretty(range(yy)))