View source: R/remove.elements.R
remove.elements | R Documentation |
This function returns a two part list of character vectors. First, the new vector with the removed strings, and second, the vector with the elements that have been removed.
remove.elements(x, remove.this)
x |
Provide the character vector to parse. |
remove.this |
Provide the elements that you want to remove. |
x <- c('MICHAEL','JOHN','LIVINGSTON','III')
remove.elements(x, c('JR','II','III','IV'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.