Description Usage Arguments Author(s) Examples
D3 network of a pkggraph object
1 |
x |
plot object generated by |
height |
parameter to change the height of the d3 plot. Default is 500 |
width |
parameter to change the width of the d3 plot. Default is 1000 |
Nikhil Singh
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
pkggraph::init(local = TRUE)
plot_obj <- pkggraph::neighborhood_graph("hash")
pkggraph::plotd3(plot_obj)
plot_obj <- pkggraph::neighborhood_graph(c("hash","tidytext"))
pkggraph::plotd3(plot_obj, height = 750, width = 1200)
plot_obj <- pkggraph::neighborhood_graph(c("hash","Matrix"))
pkggraph::plotd3(plot_obj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.