Re: [R] dictionary lookup

2008-03-07 Thread Thomas Manke
Duncan Murdoch wrote: > On 06/03/2008 6:45 PM, Thomas Manke wrote: >> Hi, >> >> I have a character-valued vector (old_names) and want to translate >> its entries whenever possible, using a dictionary (dict=data.frame). >> The translation direction is dict$V3 -->

[R] dictionary lookup

2008-03-06 Thread Thomas Manke
Hi, I have a character-valued vector (old_names) and want to translate its entries whenever possible, using a dictionary (dict=data.frame). The translation direction is dict$V3 --> dict$V2, but some values may be undefined (NA). I suppose this is a very basic task, but I tried in vain to make it