Dear list:

I have a dataset of geographical data that looks like this example data:

dat<- data.frame( lon = c(rnorm(1000, mean=-10), rnorm(1000, mean=10),
rnorm(1000, mean=5)),
  lat = c(rnorm(1000, mean=40), rnorm(1000, mean=30), rnorm(1000, mean=0)))

plot(dat$lon, dat$lat)

My positions are clearly clustered (in this example there are 3 clusters).
Is there any R algorithm that
allows me to identify the three groups of points and allocate to each pair
the respective cluster?

Many thanks in advance

Jonas

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to