mergeNodes: Merge levels in a factor

Description Usage Arguments

View source: R/sankeydiagram.R

Description

Merge levels in a factor

Usage

1
mergeNodes(x, old.nodes, nchar)

Arguments

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

nchar

Maximum number of characters in each label.


Displayr/flipPlots documentation built on April 13, 2021, 3:50 p.m.