Learn R Programming

rgp (version 0.4-1)

subexpressions: Functions for decomposing and recombining R expressions

Description

subexpressions returns a list of all subexpressions (subtrees) of an expression expr.

Usage

subexpressions(expr)

Arguments

expr
An R expression.

Value

The decomposed or recombined expression.