| KPartiteNetwork-class | R Documentation |
The k-partite network class represents data in the form of a network with k distinct groups of nodes in which nodes connect only with nodes from the other groups. In other words, there are only inter-group links, no intra-group links. These k groups are commonly called partitions. k-partite networks can have any property of a regular network, but they also designate the node ids that belong to each partition (group).
KPartiteNetwork(
object,
links,
nodes,
partitions = Partitions(),
linkColorScheme = "none",
variables = VariableMetadataList(),
...
)
linksLinkList object defining the links in the network.
nodesNodeList object defining the nodes in the network. Some nodes may not have any links.
linkColorSchemestring defining the type of coloring scheme the links follow. Options are 'none' (default) and 'posneg'. Use a method assignLinkColors() to assign colors to links and set this slot's value.
partitionslist of node ids that belong to each partition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.