moran
moran(x, coords, scaled = FALSE, alternative = "two.sided")
numeric vector of responses
Matrix of coordinates corresponding to values in X, can also be data frame that the distance matrix is generated from
Boolean, whether to use scaled (standardized) values
Character string containing the name of residual variable
A list including the observed and expected statistic, standard error, and p-value