> William Dunlap via R-devel
> on Thu, 4 Aug 2016 15:20:57 -0700 writes:
> What should findInterval(x,vec,all.inside=TRUE) return when
length(vec)<=1,
> so there are no inside intervals?
> R-3.3.0 gives a decreasing map of x->output when length(vec)==1 and -1's
> whe
What should findInterval(x,vec,all.inside=TRUE) return when length(vec)<=1,
so there are no inside intervals?
R-3.3.0 gives a decreasing map of x->output when length(vec)==1 and -1's
when length(vec)==0. Would '0' in all those cases be better?
> findInterval(x=c(10, 11, 12), vec=11, all.inside=T