由买买提看人间百态

topics

全部话题 - 话题: tmiri
(共0页)
d*******1
发帖数: 854
1
来自主题: Statistics版 - R问题, 在线等
已经试了不好使
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] "-------------------" "-------------------" "-------------------"
(共0页)