View source: R/strsplit_functions.R
strsplit_keep_firstn | R Documentation |
Performs strsplit and keeps first n elements of each string
strsplit_keep_firstn(x, n = 1, split, as_numeric = T)
x |
vector |
n |
number of elements to keep from beginning |
split |
separator |
as_numeric |
try to convert to numeric |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.