Computes prorated overload pay and qualified credit hours for a single instructor based on course credit hours, enrollment, and institutional overload rules.
Usage
ol_comp(
instructor_schedule,
L = 4,
U = 9,
rate_per_cr = 2500/3,
reg_load = 12,
favor_institution = TRUE
)
Arguments
- instructor_schedule
A data frame of the instructor's courses, with columns
INSTRUCTOR
,ENRLD
, andHRS
.- L
Lower enrollment threshold for overload pay qualification (default = 4).
- U
Upper limit of proration; courses with ENRLD > U get full-rate pay (default = 9).
- rate_per_cr
Base overload pay per credit hour (default = 2500/3).
- reg_load
Regular teaching load in credit hours (default = 12).
- favor_institution
Logical: if TRUE (default), prioritizes high-enrollment courses for regular load.
Details
If favor_institution = TRUE
(default), the function assigns high-enrollment
qualified courses to the regular load first, resulting in lower compensation
because only low-enrollment courses are left for overload pay — this favors the institution.
If favor_institution = FALSE
, the function assigns low-enrollment qualified
courses to the regular load first, preserving high-enrollment courses for compensation —
this favors the instructor.
Note: This function assumes that instructor_schedule
is already filtered for one instructor.
Use get_instructor_schedule()
to extract an instructor’s schedule using
flexible, case-insensitive pattern matching (regex supported, e.g., "smith|jones"
).