[R] Quantile Density Contours

Bernard McGarvey mcg@rvey@bern@rd @end|ng |rom comc@@t@net
Wed Mar 27 20:37:06 CET 2019


John, I have attached a pdf of the plot. Hopefully you can read this.

If I understand correctly, this plot is basically the 2-D version of the 1-D quantile plot.

Thanks

Bernard McGarvey


Director, Fort Myers Beach Lions Foundation, Inc.


Retired (Lilly Engineering Fellow).


> On March 27, 2019 at 7:44 AM John Kane <jrkrideau using gmail.com> wrote:
> 
> 
> The figure did not get  through. Perhaps try a pdf?
> 
> On Tue, 26 Mar 2019 at 13:41, Bernard McGarvey
> <mcgarvey.bernard using comcast.net> wrote:
> >
> > I want to see if I can reproduce the plot below in R. If I understand it correctly, i takes my bivariate data and creates quantile density contours. My interpretation of these contours is that they enclose a certain % of the total data. I am using the bkde2D function in library KernSmooth which gives density values that can be plotted on a contour plot but I would like the curves that enclose a given % of the data, if that is possible
> >
> >
> > Thanks
> >
> >
> >
> >
> >
> > Bernard McGarvey
> >
> > Director, Fort Myers Beach Lions Foundation, Inc.
> >
> > Retired (Lilly Engineering Fellow).
> >
> >
> > ______________________________________________
> > R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > 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.
> 
> 
> 
> -- 
> John Kane
> Kingston ON Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Qunatile Density Contours Plot.pdf
Type: application/pdf
Size: 52676 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20190327/45a2e02a/attachment.pdf>


More information about the R-help mailing list