Does a function exist that combines a normal probability plot with a histogram and maybe a density estimate on the same plot? I'm revising the Wikipedia article on "Normal probability plot", and I think it would be good to provide examples of this. Thanks, Spencer p.s. Please reply also with suggestions for how to improve that Wikipedia article if you feel so inclined.
Hi Spencer, The last example for the twoord.plot function (plotrix) does this. Jim On Sun, 3 Aug 2014 12:38:10 PM Spencer Graves wrote:> Does a function exist that combines a normal probability plot > with a histogram and maybe a density estimate on the same plot? > > > I'm revising the Wikipedia article on "Normal probability plot", > and I think it would be good to provide examples of this. > > > Thanks, > Spencer > > > p.s. Please reply also with suggestions for how to improve that > Wikipedia article if you feel so inclined. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Not a single function, but the subplot function in the TeachingDemos package can be used to add the histogram and/or density plot in the empty part of a qqplot. On Sun, Aug 3, 2014 at 1:38 PM, Spencer Graves <spencer.graves at structuremonitoring.com> wrote:> Does a function exist that combines a normal probability plot with a > histogram and maybe a density estimate on the same plot? > > > I'm revising the Wikipedia article on "Normal probability plot", and I > think it would be good to provide examples of this. > > > Thanks, > Spencer > > > p.s. Please reply also with suggestions for how to improve that Wikipedia > article if you feel so inclined. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Gregory (Greg) L. Snow Ph.D. 538280 at gmail.com