Description Usage Arguments Value Examples
The hierarchy function transforms a standard set of unique employee and supervisor identifiers (employee IDs, email addresses, etc.) into a wide or elongated format that can be used to aggregate employee data by a particular line of leadership (i.e. include everyone who rolls up to Susan).
1 |
ee |
A vector containing unique identifiers for employees. |
supv |
A vector containing unique identifiers for supervisors. These values should be of the same type as the employee values. |
format |
character string; either "long" or "wide"; default = "long". |
descending |
logical; default = TRUE. Should the hierarchy levels be descending (i.e. the top person in the hierarchy is represented at level 1)? |
data table
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.