Displaying 1 result from an estimated 1 matches for "accompllish".
Did you mean:
accomplish
2006 Sep 04
3
Subsetting vectors based on condition
...63, 95, 133, 170, 215, 253, 285, 299, 325, 375)
I would like to subset vect.2 so that it has the same length as vect.1,
and its numbers are the first corresponging higher value compared to
vect.1.
The output should be:
final.output = (95, 215, 299, NA)
What is the fastest/most eficient way to accompllish this in R?
Thanks for the help in advance,
Mahesh Krishnan