This function takes in a set of courses, their terms, prerequisites, and corequisites. Optional arguments include the number of credits, pass rates, lost credits from transferring, and the frequency of course offerings. The function creates an igraph structure of edges and nodes with the given qualities.
create_plan_of_study(
Course,
Term,
Prereq,
Coreq,
Credits = NULL,
LostCredits = NULL,
PassRate = NULL,
Timing = NULL,
Institution = NULL
)An igraph object of the prerequisite structure
atomic vector - strings for each course
a numeric atomic vector - the term each course is offered
atomic vector - strings of the courses' prereqs, separated by commas
atomic vector - strings of the courses' coreqs, separated by commas
numeric atomic vector - number of credits each course is worth (optional)
numeric atomic vector - (for transfer students) identifies if credit for the course is not applied toward a student's degree, 1. If it is, 0. (optional)
numeric atomic vector - pass rates by class (optional)
numeric atomic vector - number of times the course is offered in 2 years (optional)
atomic vector - strings of course affiliations (CC or FY)
It is recommended that the user imports the data from a csv file to ensure the indices for each atomic vector correspond to the attributes of one course.