View source: R/sankeydiagram.R
mergeNodes | R Documentation |
Merge levels in a factor
mergeNodes(x, old.nodes)
x |
factor variable |
old.nodes |
a vector containing factor levels to merge. Note level names are used rather than the numeric representation is used so it can be applied to multiple factors |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.