This may sound really simple but I\'m trying to find the equivalent code to plot(x,y, type=\"h\") as a qplot code. I already have:
plot(x,y, type=\"h\")
qplot(x,y,
the answer of user12202013 is totally correct, but if you want to use qplot you can do it as follows:
qplot(data = data, x = x, binwidth = 0.5)
But, I think, if you need some help on R, you should go to Stackoverflow