[R] ?replace characters within vector data
ggrothendieck at gmail.com
Fri Jul 6 05:07:42 CEST 2007
Check out ?chartr
On 7/5/07, Alexander.Herr at csiro.au <Alexander.Herr at csiro.au> wrote:
> Hi List,
> I want replace characters within a vector. Outside R I could use sed,
> but I'd like to automate it in R. For example
> I want to change to:
> The obvious replace command only deals with whole data entries?
> Any hints would be appreciated.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help