Returns a ggplot2 object that represents the degrees of separation between the two named authors that were provided to kevinbacran::kb_pair(). The two named authors are terminal nodes. Intermediate nodes represent intermediate authors that link via edges that represent a package that the authors collaborated on.

kb_plot(pair_graph)

Arguments

pair_graph

A tidygraph object of CRAN authors/packages created with kb_pair()

Value

A ggraph plot

Examples

# NOT RUN {
 <- kb_plot(pair_graph)
print(separation)
# }