[R] abs(U) > 0 where U is a vector?

Benjamin Dickgiesser dickgiesser at gmail.com
Wed Mar 14 11:35:58 CET 2007


Hi,

I am looking for a way to compare if every element of a vector is > 0.

i.e.
while(abs(U) > 0)
{

..
}

is there a function for this or do I have to write one?

I'd appreciate your help!

Benjamin



More information about the R-help mailing list