View source: R/hierarchyValid.R
| hierarchyValid | R Documentation | 
The hierarchyValid function considers a standard set of unique employee and supervisor identifiers (employee IDs, email addresses, etc.) and validates the completeness and quality of the two input vectors representing the overall hierarchy.
hierarchyValid(ee, supv)
| 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. | 
logical
ee = c("Dale@hR.com","Bob@hR.com","Julie@hR.com","Andrea@hR.com")
supv = c("Julie@hR.com","Julie@hR.com","Andrea@hR.com","Susan@hR.com")
hierarchyValid(ee,supv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.