hierarchyStats: hierarchyStats

View source: R/hierarchyStats.R

hierarchyStatsR Documentation

hierarchyStats

Description

The hierarchyStats function computes summary statistics and span of control metrics from a standard set of unique employee and supervisor identifiers (employee IDs, email addresses, etc.).

Usage

hierarchyStats(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

list

Examples

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")
hierarchyStats(ee,supv)

dalekube/hR documentation built on June 11, 2025, 7:49 a.m.