[R] Problem assigning "NA" as a level name in a list

Dr Eberhard W Lisse el at lisse.NA
Tue Dec 16 17:39:48 CET 2008


Quite irritating to me as the Manager of .NA too, when I
used NA for .NA :-)-O

el

Peter Dalgaard wrote:
> Cliff Behrens wrote:
>> One of these permutations
>> is the character string "NA".  It seems that when I try to name one of
>> the dataList levels "NA", using names(dataList)<- nameList, the
>> names() function assigns the missing character to the level.  Is there
>> someway to preserve "NA" as the name of a level in dataList?



More information about the R-help mailing list