Learn R Programming

caugi (version 1.0.0)

.edge_spec: Edge specification infix operators

Description

These infix operators are used to specify edges in caugi(). This function helps build infix operators.

Usage

.edge_spec(from_sym, to_expr, glyph)

Value

A data.table with columns from, to, and edge.

Arguments

from_sym

A symbol representing the source node.

to_expr

An expression representing the target node(s). Can be a symbol, string, number, c(...), or a combination using +.

glyph

A string representing the edge glyph (e.g., "-->", "<->").