plot_network | R Documentation |
Plot interactive visNetwork visualisation of object-relationship network of package.
plot_network(s, plot = TRUE, vis_save = NULL)
s |
Package statistics obtained from pkgstats function. |
plot |
If |
vis_save |
Name of local file in which to save |
(Invisibly) A visNetwork representation of the package network.
Edge thicknesses are scaled to centrality within the package function call network. Node sizes are scaled to numbers of times each function is called from all other functions within a package.
f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
## Not run:
p <- pkgstats (f)
plot_network (p)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.