[R] dataframe: string operations on columns

boris pezzatti boris.pezzatti at wsl.ch
Tue Jan 18 16:30:53 CET 2011


Dear all,
how can I perform a string operation like strsplit(x," ")  on a column 
of a dataframe, and put the first or the second item of the split into a 
new dataframe column?
(so that on each row it is consistent)

Thanks
Boris



More information about the R-help mailing list