Description Usage Arguments Value Examples
View source: R/ShortFunctions.R
Drops all elements of a character vector that have fewer than 2 characters
1 | one.drop(x, keep.na = F)
|
x |
a character vector |
keep.na |
logical vector of length 1 indicating whether to keep NA elements |
A vector containing the elements of x
that are longer than 1 character
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.