Get the Normalised Structure of an Expression
Source:R/normalise_expression.R
normalise_expression.Rd
All the different elements of an expression are replaced with nomalised names that represent their types, such as: "SYMBOL", "NUM_CONST"
Arguments
- x
an expression as returned by
parse
or a vector of character representing the text to be parsed- collapse
separator string to be put between the single tokens into which the expression is split. The default is the space character " ".