powered by
findVarsInExpression
parses expressions and returns the variables
findVarsInExpression(EXPR)
A string consisting of the variables.
a call object representing an R expression
K. Gerald van den Boogaart, S. Matos Camacho
findVarsInExpression takes a call and returns the names. It is used in gmReadInternal for parsing an R expression of an SQL query for variables.
gmReadInternal
replaceVarsInExpression, gmReadInternal
replaceVarsInExpression
a <- quote( A==B^C+A^2+C ) findVarsInExpression(a)
Run the code above in your browser using DataLab