Re: [R] Spatial Clustering with spdep::skater

2018-07-07 Thread Bert Gunter
Generally, statistical questions are off topic for this list, which is about R programming; but the r-sig-geo list would seem to be a better place to post this anyway, as the expertise you seek is much more likely there. Cheers, Bert Bert Gunter "The trouble with having an open mind is that

Re: [R] about ECDF display in ggplot2

2018-07-07 Thread Jeff Newmiller
It is a feature of ggplot that points excluded by limits raise warnings, while base graphics do not. You may find that using coord_cartesian with the xlim=c(0,500) argument works better with ggplot by showing the consequences of points out of the limits on lines within the viewport. There are

[R] Spatial Clustering with spdep::skater

2018-07-07 Thread Axel Urbiz
Dear Experts, I’m working with spdep::skater to fit clusters to spatial data subject to contiguity constraints. This function fits clusters by edge removal from Minimum Spanning Trees. In this context, I’d appreciate any pointers on how to tune the number of clusters. What is a sensible crite