d*******1 发帖数: 854 | 1 已经试了不好使
tmiri$lablex<- gsub(".","-", tmiri$label)
得到如下:
> tail(tmiri$label)
[1] "DS_011110_SC_5.4_18" "DS_011110_SC_5.4_18" "DS_011110_SC_5.4_18"
[4] "DS_011110_SC_5.4_18" "DS_011110_SC_5.4_18" "DS_011110_SC_5.4_18"
> tail(tmiri$labelx)
[1] "-------------------" "-------------------" "-------------------"
[4] "-------------------" "-------------------" "-------------------" |
|