GeoDaCenter / rgeoda

R library for spatial data analysis based on libgeoda and GeoDa
73 stars 14 forks source link

Max-P with data containing zero or very small values #48

Open hokw8198 opened 3 months ago

hokw8198 commented 3 months ago

Hello! I am working with the 'maxp_greedy' function. It works fine when the values of attributes (to be homogeneous) don't have significant variations. When they contain zero values or very small values, however, it takes forever and doesn't end, which doesn't seem right. Is it normal that maxp-greedy doesn't work well with data containing zeros? This is interesting because when I try the same thing in GeoDa Desktop, it works fine.

I would appreciate any comments. Thanks!