multi_listw2sparse | R Documentation |
Each sample in the SFE object has a separate spatial neighborhood graph. Spatial analyses performed jointly on multiple samples require a combined spatial neighborhood graph from the different samples, where the different samples would be disconnected components of the graph. This combined adjacency matrix can be used in MULTISPATI PCA.
multi_listw2sparse(listws)
listws |
A list of |
A sparse dgCMatrix
of the combined spatial neighborhood graph,
with the original spatial neighborhood graphs of the samples on the diagonal.
When the input is an SFE object, the rows and columns will match the column
names of the SFE object.
# example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.