View source: R/sankeydiagram.R
computeLinks | R Documentation |
Computes the links between the nodes, so that can be expressed as a network.
computeLinks(data, weights, show.percentages = FALSE)
data |
A |
weights |
A numeric vector with length equal to the number of rows in
|
show.percentages |
Whether to show percentages or counts |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.