Skip to content
Prev 325516 / 398503 Next

vector question

Or perhaps something based on findInterval, like
  > d[findInterval(b, c(d,Inf))+1]
  [1] 12 36 36
The details depend on if your inequality is strict or not.

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com