[R] Identifying clusters of size n

Dylan Beaudette dylan.beaudette at gmail.com
Mon Jun 15 04:04:46 CEST 2009


On Sun, Jun 14, 2009 at 4:39 PM, Nathan S.
Watson-Haigh<nathan.watson-haigh at csiro.au> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is there a library which is capable of identifying distinct clusters of size n
> from a series of XY coordinates?
>
> Failing this, I'd like to be able to to something like:
> Using a sliding window of size n along the x-axis I'd like to determine the
> distance between the center of the points in the window and the closest point
> outside the window. I could then use a distance cutoff to help define my
> clusters of size n. However, how can I calculate this distance?
>
> Cheers,
> Nathan
>

Here is a start, using PAM clustering:

http://casoilresource.lawr.ucdavis.edu/drupal/node/340

cheers,
Dylan




More information about the R-help mailing list