depth_first_analyse_expr {foolbox}R Documentation

Analyse an expression.

Description

Traverses the expression expr depth-first and analyse it it using callbacks.

Usage

depth_first_analyse_expr(expr, callbacks, params = list(),
  topdown = list(), wflags = warning_flags(), ...)

Arguments

expr

An R expression

callbacks

List of callbacks to apply.

params

Parameters of the function we are analysing. If we are working on a raw expression, just use the default, which is an empty list.

topdown

A list of additional information gathered in the traversal.

wflags

Warning flags, see warning_flags().

...

Additional data that will be passed along to callbacks.

Value

The result of the last bottom-up traversal.

See Also

analysis_callbacks

identity_analysis_callback

depth_first_analyse_function


[Package foolbox version 0.1.1 Index]