Rプログラミング備忘録物語
R言語で統計学を学ぶブログ
R言語
文字列を特定の文字列で分割する。
> x <- "Hello,world" > strsplit(x, ',') [[1]] [1] "Hello" "world"