View source: R/sankeydiagram.R
categorizeData | R Documentation |
Creates a dictionary of the nodes. Quantizes numeric variables.
categorizeData(
data,
weights,
max.categories,
share.values,
label.show.varname,
label.max.length
)
data |
A |
weights |
A numeric vector giving the weight of each row in |
max.categories |
When the number of unique values exceeds this value, the variable is quantized. |
share.values |
Whether the values in each variable are expected to be the same. |
label.show.varname |
Whether to include the variable name in the node label. |
label.max.length |
Maximum number of characters in the node label. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.