Learn R Programming

g6R (version 0.5.0)

g6_data: Create a g6_data object

Description

Create compatible data structure for g6_add_data(), g6_set_data() or simply g6().

Usage

g6_data(nodes = NULL, edges = NULL, combos = NULL)

as_g6_data(x, ...)

# S3 method for g6_data as_g6_data(x, ...)

# S3 method for list as_g6_data(x, ...)

Value

An object of class g6_data.

Arguments

nodes

Nodes data.

edges

Edges data.

combos

Combo data.

x

A list with elements nodes, edges, and/or combos.

...

Additional arguments (unused).