[R] Conflating categories

Peter Paul someone29_7 at yahoo.de
Fri Dec 14 13:39:02 CET 2007



Hi,

I think this is a pretty basic question. I still couldn#t find the answer to 
it, though.

I have some data loaded into R, which looks like this:

> data()
...
38358     Advice      Article
38359     Advice      Article
38360    GeneralInfo  List
38361    GeneralInfo      Article
38362     Purchase   Paragraphs
38363     Purchase         List
38364     Purchase   Paragraphs
...


I now would like to edit the data in such a way that every "Advice" is 
changed into "GeneralInfo".
Is there some easy way how I can do this?

Thanks a lot!



More information about the R-help mailing list