R/NetworkAnalysis.R
get_matrix_bycluster.Rd
Function returning matrices of transfers within each by clusters
get_matrix_bycluster(mat, DT, clusters)
The adjacency matrix of the network
A data table with at least a column 'node' and a factor column identifying the node's cluster
A unique character vector of the name of the column identifying the nodes' clusters