View source: R/strings_utils.R
| splitn | R Documentation | 
Helper that will split definition into chunks of names and operators.
splitn(
  definition,
  all_names,
  alt_names,
  operators = c("And", "Or", "Not", "(", ")"),
  split = "|",
  scalar = FALSE,
  dsplit = FALSE
)
| definition | definition to be split | 
| all_names | the names of all allowed names. | 
| alt_names | vector of same length as 'all_names' to use for substitution. It can be used to speed up the process. | 
| operators | operators used. Default is c("And", "Or", "Not", "(", ")"). | 
| split | string used for splitting. Default is "|". | 
| scalar | whether to allow presence of scalar or not. Default is FALSE. | 
| dsplit | whether to allow presence of duplicated occurrences of 'split' or not. Default is FALSE. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.