hierarchyValid: hierarchyValid

Description Usage Arguments Value Examples

View source: R/hierarchyValid.R

Description

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.

Usage

1
hierarchyValid(ee, supv)

Arguments

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.

Value

logical

Examples

1
2
3
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)

dalekube/hR documentation built on Jan. 25, 2021, 2:41 a.m.