I have a vector that have null elements. How to remove these elements?
For example:
x=[10 0 30 40 0 0] I want the vector y=[10 30 40]
Thanks
        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to