This function takes in a plan of study and a course, then finds that course's blocking factor. The value is the number of courses 'blocked' by failing the given course.
blocking_factor(plan_of_study, course, include_coreqs = TRUE)Numeric - the blocking factor
igraph object - An igraph object created using the create_plan_of_study function
Numeric (vertex id) or String - The course to calculate the blocking factor of
logical - Indicates whether corequisites should be included in the calculation