View source: R/force_network.R
force_network | R Documentation |
The force_network
function creates an interactive force network plot in a
htmlwidget
force_network(data, width = NULL, height = NULL, ..., viewer = "internal")
data |
a tree network description in one of numerous forms (see details) |
width , height |
width and height of exported htmlwidget in pixels (single integer value; default == NULL) |
... |
other options (see details) |
viewer |
whether to view the plot in the internal viewer or browser |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.