seq
:
scan
head()
tail()
'['
'[['
'[<-'
'[[<-'
match()
%in%
findInterval()
split()
unsplit()
order()
sort()
duplicated()
tabulate()
invisible()
...
x <- c(0, 0.2, 0.25, 0.4, 0.66, 1) f <- findInterval(x, c(-Inf, 0.25, 0.5, 0.75, Inf)) split(x, f)
## $`1` ## [1] 0.0 0.2 ## ## $`2` ## [1] 0.25 0.40 ## ## $`3` ## [1] 0.66 ## ## $`4` ## [1] 1