createVisNetwork | R Documentation |
Generates network map using the nodes and edges objects generated by getNodes and getEdges functions respectively.
createVisNetwork(
nodes,
edges,
background = "lightblue",
border = "darkblue",
highlight = "yellow"
)
nodes |
Nodes. |
edges |
Edges. |
background |
Background color. |
border |
Border color. |
highlight |
Highlight color. |
Network map visualization
Jayachandra N
nodes <- getNodes(head(mtcars), c("cyl", "gear", "vs"), group = TRUE)
res <- fixNodeBias(head(mtcars))
edges <- getEdges(getAssociation(res), getNodes(res, group = TRUE))
createVisNetwork(nodes, edges)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.