Martin Lam <[EMAIL PROTECTED]> writes:

> Hmm, it seems that the only difference is the use of
> "as.data.frame(a)" instead of "a". Hence, the same
> result can be done with:
> 
> a <- rbind(c(T, T, F), c(F, F, T))
> a[a==F]=""
> as.data.frame(a)

That's silly:

> a[!a]<-""
> noquote(a)
     [,1] [,2] [,3]
[1,] TRUE TRUE
[2,]           TRUE


-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to