[R] Partitioning a kde2d into equal probability areas

Ranjan Maitra maitra at iastate.edu
Sat May 5 03:54:49 CEST 2007

Hi David,

This is an interesting question! I was wondering is the density function like? What sort of partitions are you looking for?

Sorry I am not of much help, but this question perhaps better-defined?


On Fri, 4 May 2007 14:48:36 -0500 (CDT) David Forrest <drf5n at maplepark.com> wrote:

> Hi,
> I'd like to partition a 2d probability density function into regions of 
> equal probability.  It is straightforward in the 1d case, like 
> qnorm(seq(0,1,length=5)) but for 2d I'd need more constraints.
> Any suggestions for how to approach this?  Is seems like a spatial 
> sampling problem but I'm not sure where to look.
> Thanks for your time,
> Dave
> -- 
>   Dr. David Forrest
>   drf at vims.edu                                    (804)684-7900w
>   drf5n at maplepark.com                             (804)642-0662h
>                                     http://maplepark.com/~drf5n/
> ______________________________________________
> R-help at stat.math.ethz.ch 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.

More information about the R-help mailing list