Plot interactive
Description
Plot interactive visNetwork visualisation of object-relationship
network of package.
Usage
plot_network(s, plot = TRUE, vis_save = NULL)
Arguments
s: Package statistics obtained from pkgstats function.plot: IfTRUE, plot the network usingvisNetworkwhich opens an interactive browser pane.vis_save: Name of local file in which to savehtmlfile of network visualisation (will overrideplottoFALSE).
Note
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.
Concept
output
Value
(Invisibly) A visNetwork representation of the package network.
Examples
f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
p <- pkgstats (f)
plot_network (p)