plot_curriculum_graph {CurricularAnalytics}R Documentation

Plot a curriculum graph

Description

Plots an interactable vizNetwork visualization of the Igraph network object representing the curriculum graph.

Usage

plot_curriculum_graph(curriculum_graph, width = "100%", height = 500)

Arguments

curriculum_graph

A curriculum_graph object created with either curriculum_graph_from_list() or curriculum_graph_from_csv()

width

A string percentage for the width of the plot, default is "100%".

height

An integer representing the number of pixels for the height, default is 500.

Value

No object is returned. Rather the graph is plotted according to the specified term order in node_list. Clicking on a node will reveal its label, structural complexity (sc), centrality (cf), blocking factor (bf), and delay factor (df)

Author(s)

Daniel Krasnov

References

Heileman, Gregory L, Chaouki T Abdallah, Ahmad Slim, and Michael Hickman. 2018. “Curricular Analytics: A Framework for Quantifying the Impact of Curricular Reforms and Pedagogical Innovations.” arXiv Preprint arXiv:1811.09676.

Examples

edge_list <- data.frame(from = c(1, 3), to = c(3, 4))
node_list <-
data.frame(
 id = 1:4,
 label = c("MATH 100", "DATA 101", "MATH 101", "MATH 221"),
 term = c(1, 1, 2, 2)
)
C <- curriculum_graph_from_list(node_list,edge_list)
plot_curriculum_graph(C)

[Package CurricularAnalytics version 1.0.0 Index]