substrsplit {iNZightMR} | R Documentation |
Extract Common Name from variables
Description
Help mro variables extract common name out
Usage
substrsplit(obj, split_string = "")
Arguments
obj |
It can be a vector or data frame, however, |
split_string |
Specification of a string to allow splits on (e.g., use " " to only allow splitting at words). |
Value
A list with common character and unique variable name respectively
Examples
substrsplit(c("varx", "vary", "varz"))
strings <- c("Do you like eating eggs?", "Do you like elephants?" , "Do you like elections?")
substrsplit(strings)
substrsplit(strings, split_string = " ")
[Package iNZightMR version 2.3.0 Index]