Learn R Programming

CurricularComplexity (version 1.0)

find_inbound_courses: Find all possible prerequisites to a course

Description

This function takes in a plan of study and a course, then finds all the courses it is related to through its prerequisites

Usage

find_inbound_courses(plan_of_study, course)

Value

An atomic vector of vertex ids for the course's prerequisites

Arguments

plan_of_study

An igraph object created using the create_plan_of_study function

course

The course to find all relevant prerequisites of