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,
With ggplot you only need a data frame with a vector of observations, not the count for each value.
ggplot(data, aes(x = x)) + geom_histogram()