hca_flowdat {flowmapper} | R Documentation |
Use hierarchical clustering to merge nodes based on proximity
Description
Use hierarchical clustering to merge nodes based on proximity
Usage
hca_flowdat(flowdat, k = 20)
Arguments
flowdat |
The data containing flows from a to b, b to a, and the coordinates of a and b |
k |
The number of nodes to keep. |
Value
a dataframe of the same format as flowdat, but with some nodes (and their flows) merged. Note that this will in most cases contain some circular flows (a to a) even if the input flowdat did not.
[Package flowmapper version 0.1.3 Index]