This function takes in a plan of study and a course, then finds that course's delay factor. The output is the longest path of prerequisites through the given course.
delay_factor(plan_of_study, course, include_coreqs = TRUE)Numeric - the delay factor
igraph object - An igraph object created using the create_plan_of_study function
Numeric (vertex id) or String - The course to calculate the delay factor of
Logical - Calculates the delay factor using corequisites, default value is TRUE