geom_freqpoly(mapping = NULL, data = NULL, stat = "bin",
position = "identity", ...)aes or aes_string. Only needs to be set
at the layer level if you are overriding the plot defaults.qplot(price, data = diamonds, geom = "freqpoly", binwidth = 1000) qplot(price, data = diamonds, geom = "freqpoly", binwidth = 1000, colour = color) qplot(price, ..density.., data = diamonds, geom = "freqpoly", binwidth = 1000, colour = color)
geom_histogram: histograms