About 599,000 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 …

  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. r - Overlay histogram with density curve - Stack Overflow

    I am trying to make a histogram of density values and overlay that with the curve of a density function (not the density estimate). Using a simple standard normal example, here is some …

  4. 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 …

  5. 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:

  6. r - ggplot2 - Multi-group histogram with in-group proportions …

    ggplot2 - Multi-group histogram with in-group proportions rather than frequency Asked 12 years, 5 months ago Modified 7 years, 8 months ago Viewed 55k times

  7. 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.

  8. Add means to histograms by group in ggplot2 - Stack Overflow

    Mar 30, 2022 · I am following this source to do histograms by group in ggplot2. The sample data looks like this:

  9. 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 …

  10. Adjusting the x-Axis and Bins when Making a Histogram with …

    Dec 8, 2016 · I,n new to histograms in ggplot2 and feel like I'm missing something obvious. Using the the data below, I'm trying to create a simple histogram. All I want to do is have the x-axis …