This function takes in a plan of study and a course, then finds that course's reachability factor. The value is the number of courses needed to be passed before enrolling in the given course.
reachability_factor(plan_of_study, course, include_coreqs = TRUE)Numeric - the reachability 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