Learn R Programming

caugi (version 1.0.0)

.expand_targets: Helper to expand the right-hand side of an edge specification

Description

This function expands the right-hand side of an edge specification into a character vector of target node names. It handles various forms of input, including symbols, calls with +, calls with c(), and character literals.

Usage

.expand_targets(expr)

Value

A character vector of target node names.

Arguments

expr

An expression representing the target node(s).