R: characters
Martin Lam <tmlammail at yahoo.com> 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 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907