How do I replace string in R? The sub() function (short for substitute) in R searches for a pattern in text and replaces this pattern with replacement text.
確定! 回上一頁