createVisNetwork {netknitr} | R Documentation |
createVisNetwork
Description
Generates network map using the nodes and edges objects generated by getNodes and getEdges functions respectively.
Usage
createVisNetwork(
nodes,
edges,
background = "lightblue",
border = "darkblue",
highlight = "yellow"
)
Arguments
nodes |
Nodes. |
edges |
Edges. |
background |
Background color. |
border |
Border color. |
highlight |
Highlight color. |
Value
Network map visualization
Author(s)
Jayachandra N
Examples
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)
[Package netknitr version 0.2.1 Index]