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)
pair_graph | A tidygraph object of CRAN authors/packages created with
|
---|
A ggraph plot
# NOT RUN { <- kb_plot(pair_graph) print(separation) # }