I have a dataset where I want to plot Y and log(Y) against the same X axis , is there any way to have the two charts y ~ X , log(y) ~ X in the same image side by side so that I can compare them.
Sample dataset
datastart <- data.frame(x=rep(1:5,2),
y=c(1,2,10,50,1, .1,9,8,20,19),
type=rep(c(‘a’,’b’),each=5))