| NoSep {splitstackshape} | R Documentation |
Used to split strings like "Abc8" into "Abc" and "8".
NoSep(data, charfirst = TRUE)
data |
The vector of strings to be split. |
charfirst |
Is the string constructed with characters at the start or
numbers? Defaults to |
A data.frame with two columns, .var and
.time_1.
This is a helper function for the Stacked and
Reshape functions.
Ananda Mahto
x <- paste0("Var", LETTERS[1:3], 1:3)
splitstackshape:::NoSep(x)
y <- paste0(1:3, "Var", LETTERS[1:3])
splitstackshape:::NoSep(y, charfirst = FALSE)