tripartite_example: An example of dataframe encoding a small tripartite graph.

Description Usage Format Examples

Description

tripartite_example is a data.frame containing raw data that encodes a small tripartite graph. It has the proper format to be loaded by get_multipartite. It contains four columns. Each row gives a link between two nodes belonging to two different parts of the tripartite graph. The first column gives the label if the part of the first node and the second column gives the label of this node (any character string). Similarly, the third and fourth columns give the labels of the second part and of the second node. A fifth column could eventually be added to give the weights of the links (any positive integer or float value).

Usage

1

Format

An object of class data.frame with 11 rows and 4 columns.

Examples

1
2
3
4
5
data (tripartite_example)
head (tripartite_example)

graph <- get_multipartite (data=tripartite_example)
graph

Lamarche-Perrin/triversity documentation built on May 22, 2019, 12:36 p.m.