Questions tagged «string-substitution»

6
替换字符串中的特定字符
我想从向量中的字符串中删除特定字符,类似于Excel中的“ 查找和替换”功能。 这是我开始的数据: group <- data.frame(c("12357e", "12575e", "197e18", "e18947") 我从第一列开始。我想通过删除来产生第二列e: group group.no.e 12357e 12357 12575e 12575 197e18 19718 e18947 18947
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.