私は文字ベクトルを持っています:
A <- c("terrestrial human",
"animal 7 planet",
"geographic 23 locations",
"discovery kids")
これを 2 つのベクトルに分割したいと思います。1 つは数字を含むすべてのエントリを含み、もう 1 つは数字を含まないデータを含みます。
v1 <- c("animal 7 planet","geographic 23 locations")
v2 <- c("terrestrial human","discovery kids")