我想从R中的字符向量中删除字符串
示例输入:
[1] "Species1" "Species2"
[3] "Species3" "Species4"
[5] "Species5" "Species6"
...
所需的输出(例如删除Species2并保留顺序)
[1] "Species1" "Species3"
[3] "Species4" "Species5"
[5] "Species6" "Species7"