View source: R/spatial_correlation_functions.R
Moran.I.calc | R Documentation |
Moran.I.calc
computes Moran's I autocorrelation coefficient of *resid*
given a matrix of weights defined as the inverse of a distance matrix of
spatial coordinates.
Moran.I.calc(data)
data |
numeric data frame with three columns. First column should represent the "x"-coordinates, 2nd column represents the "y"-coordinates, and the 3rd column represents a numeric vector of model residuals |
A list containing the elements observed
, expected
,
sd
, & p.value
Moran.I
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.