Visualizing package dependencies
plot.pkgdepR.Rd
This function is a simple wrapper for plotting a network visualization using visNetwork.
Usage
# S3 method for pkgdepR
plot(
x,
width = NULL,
height = NULL,
main = NULL,
submain = NULL,
alpha = 1,
...
)
Arguments
- x
An object of class
pkgdepR
.- width
The width of the vis.js render.
- height
The height of the vis.js render.
- main
The title. To remove the title, pass
list(text = NULL)
.- submain
The subtitle. To remove the subtitle, pass
list(text = NULL)
.- alpha
A transparency value to use for colors.
- ...
Other arguments passed onto visNetwork and viridis.