Displaying 1 result from an estimated 1 matches for "bindwidth".
Did you mean:
bandwidth
2011 Jun 08
1
The simplest bar graph with ggplot is difficult to realize
Dear all,
What is the simplest way of producing a bar graph using ggplot but
avoiding calling qplot?
That is, given:
d <- data.frame(x=seq(1,5), y=seq(1,5))
Why does the following line return an error?
ggplot(d, aes(x=x, y=y)) + stat_identity() + geom_bar(bindwidth=1)
Thanks in advance,
jcb!