expression-methods: Construct an expression graph

Description Usage Arguments Value Examples

Description

Construct an expression graph from a function

Usage

1
2
3
4
expression.graph(f)

## S4 method for signature ''function''
expression.graph(f)

Arguments

f

a function for which the expression graph should be constructed

Value

returns a list with the root node, variable nodes and leaf nodes

Examples

1
2
3
4
f <- function(x, y) {
  x + y
}
expression.graph(f)

dirmeier/jar documentation built on Dec. 20, 2021, 12:03 a.m.