
Plot personnel movement over time
plot_movement.RdPlot personnel movement over time
Arguments
- data
A data frame containing the movement data with columns
ref_date,indicator, and optionally a grouping column.- movement_type
A string indicating the type of movement: "hire", "fire", or "turnover".
- measurement_type
A string indicating the measurement type: "count" or "rate".
- group_cols
A character vector of columns to group by, or
"ref_date"for no grouping.