Skip to content

Any packages that include kernal density

3 messages · Bruce Miller, Phil Novack-Gottshall, Philipp Gaertner

#
Any packages that include kernal density in addition to convex polygon 
range estimators?

My search did not find anything but thought I had seen this a year or so 
ago.

Bruce
#
Hi Bruce,

Not sure if it's what you're looking for, but you can do two and three
dimensional KDEs using package kde2d() in package MASS and various
functions in package ks. Nice visualizations (2-D and 3-D) can then be
done using persp3d in package rgl (or perhaps package plotrix).

A nice example of its use can be found in Butler, M. A., Sawyer, S. A.,
& Losos, J. B. (2007). Sexual dimorphism and adaptive radiation in
Anolis lizards. Nature, 447(7141), 202-205.

It's been a while since I've used these functions, so hopefully it's
helpful for you.

Cheers,
Phil
On 1/3/2014 3:57 PM, Bruce Miller wrote: