Skip to content
Prev 11835 / 29559 Next

correlogram for missing values

On Thu, 26 May 2011, Advait Godbole wrote:

            
The missing values are almost certainly the source of your problem. Subset 
both your data and your neighbour object to retain only complete cases.

You did not state your command for Moran's I, but I guess that you set 
na.action=na.omit - you do not seem to have passed this to correlog, which 
gives the message you see irrespective of the cause of the error. The 
problem will be resolved by removing incomplete cases.

Roger