use_def: Use Definition Chain

Description Usage Arguments Value

View source: R/inferGraph.R

Description

Compute a data frame of edges with one edge connecting each use of the variable x to the most recent definition or update of x.

Usage

1
use_def(x, all_uses, all_definitions)

Arguments

x

variable name

all_uses

list containing variable names used in each expression

all_definitions

list containing variable names defined in each expression

Value

data frame of edges suitable for use with graph_from_data_frame.


clarkfitzg/makeParallel documentation built on Nov. 21, 2020, 2:35 a.m.