powered by
rep2abI(x, times)
rep.int(x, times)
abIndex
class
rep.int()
abIseq
(ab <- rep2abI(2:7, 4)) stopifnot(identical(as(ab, "numeric"), rep(2:7, 4)))
Run the code above in your browser using DataLab