View source: R/cluster-metrics.R
| layer_similarity_matrix | R Documentation |
Computes similarity matrix for all pairs of layers.
layer_similarity_matrix(
layers,
method = c("jaccard", "overlap", "cosine", "pearson")
)
lsim_matrix(layers, method = c("jaccard", "overlap", "cosine", "pearson"))
layers |
List of adjacency matrices (one per layer) |
method |
Similarity method |
Symmetric matrix of pairwise similarities
# layers <- list(T1 = mat1, T2 = mat2, T3 = mat3)
# layer_similarity_matrix(layers, "cosine")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.