Learn R Programming

CurricularComplexity (version 1.0)

delay_factor: Calculates the delay factor of a course

Description

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.

Usage

delay_factor(plan_of_study, course, include_coreqs = TRUE)

Value

Numeric - the delay 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 delay factor of

include_coreqs

Logical - Calculates the delay factor using corequisites, default value is TRUE