Re: [R] help with bivariate density plot question

From: Mark Difford <mark_difford_at_yahoo.co.uk>
Date: Thu, 17 Jul 2008 02:22:42 -0700 (PDT)

Hi Daniela,

Spencer (? Graves) is not at home. Seriously, this is a list that many people read and use. If you wish to elicit a response, then you would be wise to give a better statement of what your difficulty is.

The function you enquire about is well documented with an example, see

##
library(GenKern) ## load the package
?KernSur ## get help on the function

You don't need to do anything special to get adaptive bandwidths, it's all done for you (by the authors of the package). Just replace the x and y values in the example with your values, and perhaps deal with any NAs in your data set.

Should one moralize?: Well, it is generally true that you want help from others...

HTH, Mark.

Daniela Carollo wrote:
>
> Hi Spencer,
>
> I have seen your name on the web site, and perhaps you can
> help me with my R problem.
>
> I'm trying to use KernSur to put in evidence a substructure in a
> bidimensional plot. My problem is that, in order to get the density
> in the low density areas (in which the substructure is located) I should
> use different bandwidths. How I can do that?
>
> Also, I think that the best choice for my case is to use the function
> "akerdmul" which perform the multivariate adaptive kernel density
> distribution. Are you familiar with this function?
>
> Any help would be really appreciated.
>
> Thank you very much!
>
> Regards,
>
> Daniela
>
> ______________________________________________
> 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.
>
>

-- 
View this message in context: http://www.nabble.com/help-with-bivariate-density-plot-question-tp18495958p18504638.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Thu 17 Jul 2008 - 09:30:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 Jul 2008 - 10:31:49 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive