View source: R/matrix_functions.R
create_weight_matrix | R Documentation |
Takes the weights from compute_kernel and creates weighted adjacency matrix
create_weight_matrix(edgelist, weights, ...)
edgelist |
a dataframe with two columns |
weights |
a vector of weights |
... |
other parameters to be passed to Matrix::sparseMatrix() |
sparseMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.