separate_var {iNZightTools} | R Documentation |
Separate columns
Description
Separate columns
Usage
separate_var(data, var, by, names, into = c("cols", "rows"))
Arguments
data |
dataset |
var |
name of variable to be separated |
by |
a string as delimiter between values (separate by delimiter) or
integer(s) as number of characters to split by (separate by position),
the length of |
names |
for |
into |
whether to split into new rows or columns |
Value
Separated dataset
Author(s)
Zhaoming Su
[Package iNZightTools version 2.0.1 Index]