R/moransi.R
IrregularData.Rd
Process irregular data shape for Moran's I between two groups.
IrregularData(X, W, group1, group2)
A matrix with observations as rows and features as columns.
A weight matrix across all observations, i.e inverse of a pairwise distance matrix.
The indices or names for the first group of observations.
The indices or names for the second group of observations.
A list containing the following:
X, new data matrix of group1 and group2.
W, new weight matrix of group1 and group2.