Displaying 1 result from an estimated 1 matches for "tp22166108p22166108".
2009 Feb 23
2
if statement of a vector
...not, throw it out.
x=vector
y=empty vector
j=0
for i (0..length[vector])
if x[i] > 10
y[j] = x[i]
j++
Thats basically some pseudo code of what I want to do. Any suggestions?
--
View this message in context: http://www.nabble.com/if-statement-of-a-vector-tp22166108p22166108.html
Sent from the R help mailing list archive at Nabble.com.