Learn R Programming

CurricularComplexity (version 1.0)

blocking_factor: Calculates the blocking factor of a course

Description

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.

Usage

blocking_factor(plan_of_study, course, include_coreqs = TRUE)

Value

Numeric - the blocking factor

Arguments

plan_of_study

igraph object - An igraph object created using the create_plan_of_study function

course

Numeric (vertex id) or String - The course to calculate the blocking factor of

include_coreqs

logical - Indicates whether corequisites should be included in the calculation