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!

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to