Hello,
Would anyone kindly tell me how to remove the empty element in the vector
object?
For example,
> x
[1] "a" "" "" "c" "c" "c" "d"
> unique(x)
[1] "a" "" "c" "d"
How could I get the output like: "a","c","d"?
Thanks,
Yanqin
---------------------------------
Get your email and more, right on the new Yahoo.com
[[alternative HTML version deleted]]
______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.