powered by
Split One Column and Expand
split_expand(data, variable, sep)
expanded dataframe or matrix
dataframe or matrix
one column name with connected values
seperated symbol, which can be one or more
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=';')
Run the code above in your browser using DataLab