Learn R Programming

gmDatabase (version 0.5.0)

findVarsInExpression: findVarsInExpression

Description

parses expressions and returns the variables

Usage

findVarsInExpression(EXPR)

Value

A string consisting of the variables.

Arguments

EXPR

a call object representing an R expression

Author

K. Gerald van den Boogaart, S. Matos Camacho

Details

findVarsInExpression takes a call and returns the names. It is used in gmReadInternal for parsing an R expression of an SQL query for variables.

See Also

replaceVarsInExpression, gmReadInternal

Examples

Run this code
a <- quote( A==B^C+A^2+C )
findVarsInExpression(a)

Run the code above in your browser using DataLab