g_data: Process data

Description Usage Arguments Examples

View source: R/graph.R

Description

Process data previously passed to gior.

Usage

1
g_data(g, from, to, value, ...)

Arguments

g

An object of class gior as returned by gior.

from, to

Source and target of edges.

value

Numerical value of edges.

...

Any other columns to select from the data, i.e.: inColor or outColor

Examples

1
2
3
4
5
data("country_data")

country_data %>%
  gior(init.country = "CN") %>%
  g_data(from, to, value)

JohnCoene/gior documentation built on March 6, 2020, 1:07 a.m.