About 50 results
Open links in new tab
  1. Overlaying histograms with ggplot2 in R - Stack Overflow

    ggplot(histogram, aes(f0, fill = utt)) + geom_histogram(alpha = 0.2) is telling ggplot to construct one histogram using all the values in f0 and then color the bars of this single histogram according to the …

  2. r - ggplot2: histogram with normal curve - Stack Overflow

    I've been trying to superimpose a normal curve over my histogram with ggplot 2. My formula:

  3. How to manually fill colors in a ggplot2 histogram

    Jan 22, 2014 · 13 I am generating a histogram and I would like to color certain groups with specific colors. Here is my histogram: I have 14 groups and I would like to color the first 7 red, the next 4 …

  4. Adding stat = count on top of histogram in ggplot - Stack Overflow

    Aug 26, 2022 · Adding stat = count on top of histogram in ggplot Asked 3 years, 5 months ago Modified 1 year, 5 months ago Viewed 9k times

  5. Understanding dates and plotting a histogram with ggplot2 in R

    May 27, 2012 · Main Question I'm having issues with understanding why the handling of dates, labels and breaks is not working as I would have expected in R when trying to make a histogram with …

  6. How to plot histogram/ frequency-count of a vector with ggplot?

    Sep 16, 2015 · 17 I want to plot with ggplot the frequency of values from a numeric vector. With plot() is quite straight forward but I can't get the same result with ggplot.

  7. r - Creating a density histogram in ggplot2? - Stack Overflow

    Jan 11, 2014 · 39 I want to create the next histogram density plot with ggplot2. In the "normal" way (base packages) is really easy:

  8. Display all x-axis labels on ggplot histogram - Stack Overflow

    May 17, 2023 · Display all x-axis labels on ggplot histogram Asked 2 years, 8 months ago Modified 2 years, 8 months ago Viewed 3k times

  9. R GGplot histograms and density with multiple fill variables

    Nov 27, 2023 · I want to create a plot with three overlapping histograms (each with a different color and semi-transparent) with their density polygons overlaid on the same graph without having the histograms

  10. How to align the bars of a histogram with the x axis?

    If you compare the histogram with the bar plot, you will notice two differences: There is a little gap between the bars in the bar plot, while they touch in the histogram. You could make the bars touch in …