Skip to content
Prev 385680 / 398503 Next

how to overlay two histograms

Is this what you want?

ggplot(d, aes(counts, fill = name)) +
      geom_bar(stat = "bin", position = "dodge")

Note: You probably should play around with the "bin" width.

On Thu, 17 Sep 2020 at 18:05, Ana Marija <sokovic.anamarija at gmail.com>
wrote: