On Fri, Oct 24, 2008 at 11:37 AM, Dr Eberhard W Lisse <[EMAIL PROTECTED]> wrote: > > This looks very cool. > > But I must still make a plan with regards to country = "NA" (Namibia) > or continent = "NA" (North America) > > But there are the vignettes. > > el >
NA and "NA" are not the same: > DF <- data.frame(x = c("a", "NA", NA)) > DF x 1 a 2 NA 3 <NA> > > is.na(NA) [1] TRUE > is.na("NA") [1] FALSE ______________________________________________ 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.