Dear All,
 
any thoughts on how I can do the following:
 
let us say we have:
 
a <-c(2,4,16,28,48)
b <-c(10,4,2,0.4,0.03)
d <-cbind(a,b)
 
what I would like to do is to extract values of column b in the matrix based on the corresponding values of column a. For example: I would like to extract all b values that have a corresponding a value that is less than 24 into a numeric vector, so let us say we name this new vector f, then the results should look like:
 
f <-c(10,4,2)
 
as allways your help is greatly appreciated, 
 
Andras
	[[alternative HTML version deleted]]

