Learn R Programming

gmDatabase (version 0.5.1)

extractDollarExpressions: Extracting a dollar expression

Description

Extracts the expression containing a dollar symbol.

Usage

extractDollarExpressions(EXPR)

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.

Arguments

EXPR

an R expression

Author

K. Gerald van den Boogaart, S. Matos Camacho

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.

See Also

gmReadInternal

Examples

Run this code
extractDollarExpressions(quote(root$project == 2))

Run the code above in your browser using DataLab