Plot interactive visNetwork visualisation of object-relationship network of package.
Source:R/plot.R
plot_network.Rd
Plot interactive visNetwork visualisation of object-relationship network of package.
Arguments
- s
Package statistics obtained from pkgstats function.
- plot
If
TRUE
, plot the network using visNetwork which opens an interactive browser pane.- vis_save
Name of local file in which to save
html
file of network visualisation (will overrideplot
toFALSE
).
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.
Examples
f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
if (FALSE) { # \dontrun{
p <- pkgstats (f)
plot_network (p)
} # }