Description Usage Arguments Value Examples
Split One Column and Expand
1 | split_expand(data, variable, sep)
|
data |
dataframe or matrix |
variable |
one column name with connected values |
sep |
seperated symbol, which can be one or more |
expanded dataframe or matrix
1 2 3 4 5 | df=data.frame(a=c(1,0),
b=c('a','n'),
cyl=c('6;6;4;4;4',
'6;8;'))
split_expand(data=df,variable='cyl',sep=';')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.