splitn: String Decomposition with Operators
Description
Helper that will split population definition into chunks of names and operators.
Usage
splitn(definition, all_names, operators = c("And", "Or", "Not", "(", ")"))
Arguments
definition
population definition to be splitted
all_names
the names of all allowed populations
operators
operators used. Default is c("And", "Or", "Not", "(", ")").