Description Usage Arguments Note Author(s)
Returns an integer representing the number of unique categories from all specified fields. This value should serve as a guide for users specifying colors in the makeFlow() function.
1 | colorCount(data, classFields)
|
data |
An object of class data.frame in which all specified classFields (or column names) can be found. |
classFields |
A vector of the column names intended to be represented in a makeFlow() diagram. Each element must be a string. |
Relies on Hadley Wickham's dplyr package.
Alex J. Krebs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.