Last data update: 2014.03.03

R: Extracting a dollar expression
extractDollarExpressionsR Documentation

Extracting a dollar expression

Description

Extracts the expression containing a dollar symbol.

Usage

extractDollarExpressions(EXPR)

Arguments

EXPR

an R expression

Details

extractDollarExpressions extracts the expression containing a dollar symbol. Furthermore it provides an alias for it. This function is meant for internal use in gmReadInternal, when dollar expressions occur in bracket terms.

Value

Returns a structure, containing the whole expression using the alias instead of the original dollar expression in expr and the dollar expression itself in dollarExpr.

Author(s)

K. Gerald van den Boogaart, S. Matos Camacho

See Also

gmReadInternal

Examples

extractDollarExpressions(quote(root$project == 2))

Results