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)

hR documentation built on April 3, 2025, 8:24 p.m.