Description Usage Arguments Details Value
View source: R/citation_network_plot.R
citation_network_plot
generates plots of citation networks, depicting works as dots ("nodes", in network parlance) and citations as arrows ("edges") from cited works to citing works.
1 2 3 4 5 6 7 8 9 10 11 12 | citation_network_plot(
citations,
cited_only,
stages,
root_source,
label_only_cited = FALSE,
color_plot = TRUE,
custom_plot = FALSE,
arrow_gap = 0.015,
time_axis = "x",
seed = 324
)
|
citations |
A dataframe representing classified citations such as that generated by |
cited_only |
A dataframe representing the works that are only cited by—not citing—the other works in |
color_plot |
Should multiple classifications be denoted by different colors? If not, they will indicated by different shapes. |
custom_plot |
Should the function return a bare plot suitable for customization using |
arrow_gap |
A parameter that will shorten the arrows that link works in order to avoid overplotting the dots that represent the works; larger values may be desirable if |
time_axis |
Set to "y" to specify that time should start from the bottom of the plot or "x", the default, to specify that time flows from left to right. |
The 'citation_network_plot' function
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.