Description
Convert a quoted R expression into a list of lists that can be
inserted into PFA
Usage
pfa_expr(expr, symbols = list(), cells = list(), pools = list(),
fcns = list(), env = parent.frame())
Arguments
expr
quoted R expression (e.g. quote(2 + 2))
symbols
list of symbol names that would be in scope when evaluating this expression
cells
list of cell names that would be in scope when evaluating this expression
pools
list of pool names that would be in scope when evaluating this expression
fcns
list of function names that would be in scope when evaluating this expression
env
environment for resolving unrecognized symbols as substitutions
Value
a list of lists representing a fragment of a PFA document